bibliothek.gui.dock.common.location
Class CMaximalExternalizedLocation

java.lang.Object
  extended by bibliothek.gui.dock.common.CLocation
      extended by bibliothek.gui.dock.common.location.AbstractStackholdingLocation
          extended by bibliothek.gui.dock.common.location.CExternalizedLocation
              extended by bibliothek.gui.dock.common.location.CMaximalExternalizedLocation

public class CMaximalExternalizedLocation
extends CExternalizedLocation

A location representing an maximized externalized element.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from class bibliothek.gui.dock.common.location.CExternalizedLocation
STATION
 
Constructor Summary
CMaximalExternalizedLocation(CLocation parent, int x, int y, int width, int height)
          Creates a new location.
CMaximalExternalizedLocation(int x, int y, int width, int height)
          Creates a new location.
 
Method Summary
 ExtendedMode findMode()
          Gets the mode this location represents.
 DockableProperty findProperty(DockableProperty successor)
          Gets a path describing this location in terms of the DockingFrames.
 java.lang.String toString()
           
 
Methods inherited from class bibliothek.gui.dock.common.location.CExternalizedLocation
aside, findRoot, getHeight, getParent, getWidth, getX, getY, maximize
 
Methods inherited from class bibliothek.gui.dock.common.location.AbstractStackholdingLocation
stack, stack
 
Methods inherited from class bibliothek.gui.dock.common.CLocation
base, base, equals, expandProperty, expandProperty, external, findProperty, hashCode, maximized, maximized, maximized, maximized, minimized, minimized, normalized, working
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMaximalExternalizedLocation

public CMaximalExternalizedLocation(int x,
                                    int y,
                                    int width,
                                    int height)
Creates a new location.

Parameters:
x - the x-coordinate in pixel
y - the y-coordinate in pixel
width - the width in pixel
height - the height in pixel

CMaximalExternalizedLocation

public CMaximalExternalizedLocation(CLocation parent,
                                    int x,
                                    int y,
                                    int width,
                                    int height)
Creates a new location.

Parameters:
parent - the parent location, can be null
x - the x-coordinate in pixel
y - the y-coordinate in pixel
width - the width in pixel
height - the height in pixel
Method Detail

findMode

public ExtendedMode findMode()
Description copied from class: CLocation
Gets the mode this location represents.

Overrides:
findMode in class CExternalizedLocation
Returns:
the mode or null

findProperty

public DockableProperty findProperty(DockableProperty successor)
Description copied from class: CLocation
Gets a path describing this location in terms of the DockingFrames.

Overrides:
findProperty in class CExternalizedLocation
Parameters:
successor - the path of the elements above this location or null
Returns:
the path to this location or null, can also be successor

toString

public java.lang.String toString()
Overrides:
toString in class CExternalizedLocation