Package | Description |
---|---|
bibliothek.gui.dock.common |
A set of classes that can be used to create basic applications.
|
bibliothek.gui.dock.common.event | |
bibliothek.gui.dock.common.intern |
Classes and interfaces used internally.
|
bibliothek.gui.dock.common.location |
Various implementations of
CLocation . |
bibliothek.gui.dock.common.mode | |
bibliothek.gui.dock.common.mode.station |
Contains wrapper classes for various
DockStation s, implementing the interface
CLocationMode . |
Modifier and Type | Method and Description |
---|---|
abstract CLocation |
CLocation.aside()
Deprecated.
Clients should make use of
CDockable.setLocationsAside(CDockable) and
CDockable.setLocationsAsideFocused() , because these methods can directly modify DockStation s
and insert placeholders when necessary. |
CLocation |
CLocation.expandProperty(DockableProperty property,
CLocationExpandStrategy strategy)
Tries to create a location that resembles
property . |
CLocation |
CLocation.expandProperty(DockController controller,
DockableProperty property)
Tries to create a location that resembles
property . |
CLocation |
CControl.getDefaultLocation()
Gets the location where
CDockable s are opened when nothing else
is specified. |
CLocation |
CMinimizeArea.getDropLocation() |
CLocation |
CStation.getDropLocation()
|
abstract CLocation |
CLocation.getParent()
Gets the parent location of this location.
|
CLocation |
CGridArea.getStationLocation() |
CLocation |
CMinimizeArea.getStationLocation() |
CLocation |
CStation.getStationLocation()
Gets a location which represents directly
CStation.getStation() . |
CLocation |
CWorkingArea.getStationLocation() |
Modifier and Type | Method and Description |
---|---|
void |
CControl.setDefaultLocation(CLocation defaultLocation)
Sets the location where
CDockable s are opened when there is
nothing else specified for these CDockable s. |
Modifier and Type | Method and Description |
---|---|
CLocation |
CDockableLocationEvent.getNewLocation()
Gets the location of the dockable after this event
|
CLocation |
CDockableLocationEvent.getOldLocation()
Gets the location of the dockable before this event
|
Constructor and Description |
---|
CDockableLocationEvent(CDockable dockable,
boolean oldShowing,
boolean newShowing,
CLocation oldLocation,
CLocation newLocation)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
CLocation |
AbstractCDockable.getAutoBaseLocation(boolean noBackwardsTransformation) |
CLocation |
CDockable.getAutoBaseLocation(boolean noBackwardsTransformation)
Tries to find out at which location this
CDockable may appear if it would be made visible. |
CLocation |
CControlAccess.getAutoBaseLocation(CDockable dockable,
boolean noBackwardTransformation)
Gets the default result for
CDockable.getAutoBaseLocation(boolean) . |
CLocation |
AbstractCDockable.getBaseLocation() |
CLocation |
CDockable.getBaseLocation()
Gets the location of this
CDockable . |
CLocation |
AbstractCDockable.getDefaultLocation(ExtendedMode mode)
Gets an earlier set value of
AbstractCDockable.setDefaultLocation(ExtendedMode, CLocation) . |
CLocation |
AbstractCStation.getDropLocation() |
CLocation |
AbstractDockableCStation.getDropLocation() |
CLocation |
AbstractCStation.getStationLocation() |
CLocation |
AbstractDockableCStation.getStationLocation() |
CLocation |
CDockableAccess.internalLocation(boolean reset)
Gets the user set location of this dockable.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCStation.init(S station,
String id,
CLocation location)
Initializes the fields of this station.
|
protected void |
AbstractDockableCStation.init(S station,
String id,
CLocation location,
CommonDockable dockable)
Initializes the fields of this station.
|
void |
AbstractCDockable.setDefaultLocation(ExtendedMode mode,
CLocation location)
Sets the default location for mode
mode for this dockable. |
void |
AbstractCDockable.setLocation(CLocation location) |
void |
CDockable.setLocation(CLocation location)
Sets the location of this
CDockable . |
Constructor and Description |
---|
AbstractCStation(S station,
String id,
CLocation location)
Creates a new station.
|
AbstractDockableCStation(S station,
String id,
CLocation location,
CommonDockable dockable)
Creates a new station.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStackholdingLocation
A location which can be parent of a stack (stack is also known as tabbed-pane).
|
class |
AbstractTreeLocation
A location that is child of the "normalized"-area, and describing a turn
in a path leading to the final element.
|
class |
CBaseLocation
A location based on a
CContentArea . |
class |
CContentAreaCenterLocation
This location points to the center of a
CContentArea . |
class |
CExtendedModeLocation
This location represents an
ExtendedMode . |
class |
CExternalizedLocation
A location representing an externalized element.
|
class |
CFlapIndexLocation
A location which represents the index on a
FlapDockStation . |
class |
CFlapLocation
A location which represents a
FlapDockStation . |
class |
CGridAreaLocation
A location that represents a
CGridArea . |
class |
CMaximalExternalizedLocation
A location representing an maximized externalized element.
|
class |
CMaximizedLocation
A location representing the maximized state.
|
class |
CMinimizeAreaLocation
A location describing a child of a
CMinimizeArea . |
class |
CMinimizedLocation
A location aiming at minimized elements.
|
class |
CRectangleLocation
A location describing a normalized element by giving its relative position
and size (relative meaning that the element is positioned in a rectangle of
size 1/1).
|
class |
CSplitLocation
This location is used to describe a
SplitDockStation . |
class |
CStackLocation
A location describing an element in a stack (also known as tabbed-pane).
|
class |
CWorkingAreaLocation
A location representing a
CWorkingArea . |
class |
TreeLocationLeaf
Represents a leaf in a path of tree-nodes.
|
class |
TreeLocationNode
A turn in a path to an element, beginning at the "normalized-area".
|
class |
TreeLocationRoot
The root of a path of turns, leading to the location of an element, beginning
at the "normalized-area".
|
Modifier and Type | Field and Description |
---|---|
static CLocation |
CExternalizedLocation.STATION
A location describing the externalize station with the id
CControl.EXTERNALIZED_STATION_ID . |
Modifier and Type | Method and Description |
---|---|
CLocation |
AbstractTreeLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CBaseLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CExtendedModeLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CExternalizedLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CFlapIndexLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CFlapLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CMaximizedLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CRectangleLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CSplitLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CStackLocation.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CWorkingAreaLocation.aside() |
CLocation |
TreeLocationLeaf.aside()
Deprecated.
see
aside() for an explanation. |
CLocation |
CLocationExpandStrategy.expand(CLocation location,
DockableProperty property)
Expands
location by creating a new location that represents
property . |
CLocation |
DefaultExpandStrategy.expand(CLocation location,
DockableProperty property) |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
FlapDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
ScreenDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockFullScreenProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockPathProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockPlaceholderProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
StackDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
CLocation |
CBaseLocation.expandProperty(DockableProperty property,
CLocationExpandStrategy strategy) |
CLocation |
CExtendedModeLocation.expandProperty(DockableProperty property,
CLocationExpandStrategy strategy) |
CLocation |
CBaseLocation.getParent() |
CLocation |
CExtendedModeLocation.getParent() |
CLocation |
CExternalizedLocation.getParent()
Gets the parent location, if there is any.
|
CLocation |
CFlapLocation.getParent()
Gets the parent location of this location.
|
CLocation |
CMaximizedLocation.getParent() |
CLocation |
CRectangleLocation.getParent() |
CLocation |
CSplitLocation.getParent() |
CLocation |
CStackLocation.getParent()
Gets the parent location of this
CStackLocation . |
Modifier and Type | Method and Description |
---|---|
CLocation |
CLocationExpandStrategy.expand(CLocation location,
DockableProperty property)
Expands
location by creating a new location that represents
property . |
CLocation |
DefaultExpandStrategy.expand(CLocation location,
DockableProperty property) |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
FlapDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
ScreenDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockFullScreenProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockPathProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockPlaceholderProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
SplitDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
protected CLocation |
DefaultExpandStrategy.expand(CLocation location,
StackDockProperty property)
Creates a new location by creating the child location of
location using
property for that step. |
Constructor and Description |
---|
CExternalizedLocation(CLocation parent,
int x,
int y,
int width,
int height)
Creates a new location.
|
CFlapLocation(CLocation parent)
Creates a new location
|
CMaximalExternalizedLocation(CLocation parent,
int x,
int y,
int width,
int height)
Creates a new location.
|
CSplitLocation(CLocation parent)
Creates a new location
|
CStackLocation(CLocation parent)
Creates a new location
|
CStackLocation(CLocation parent,
int index)
Creates a new location
|
Modifier and Type | Method and Description |
---|---|
CLocation |
CNormalModeArea.getBaseLocation()
Gets a location representing this area.
|
CLocation |
CExternalizedMode.getCLocation(Dockable dockable) |
CLocation |
CLocationMode.getCLocation(Dockable dockable)
Gets the location of
dockable which is in this mode. |
CLocation |
CMaximizedMode.getCLocation(Dockable dockable) |
CLocation |
CMinimizedMode.getCLocation(Dockable dockable) |
CLocation |
CModeArea.getCLocation(Dockable dockable)
Assuming
dockable is a child of this area, returns
the location of dockable . |
CLocation |
CNormalMode.getCLocation(Dockable dockable) |
CLocation |
CExternalizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CLocationMode.getCLocation(Dockable dockable,
Location location)
Gets the location of
dockable which might or might not
be a child of this mode. |
CLocation |
CMaximizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CMinimizedMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CModeArea.getCLocation(Dockable dockable,
Location location)
Assuming
dockable would be at location location
if it would be a child of this station, returns the CLocation that
matches location . |
CLocation |
CNormalMode.getCLocation(Dockable dockable,
Location location) |
CLocation |
CNormalMode.getDefaultLocation()
Gets a location on station that is not a working-area.
|
CLocation |
CLocationModeManager.getDropLocation(CStation<?> station)
Tries to find the "optimal spot" where to put a new child onto
station . |
CLocation |
CLocationModeManager.getLocation(Dockable dockable)
Gets an element describing the location of
dockable as
good as possible. |
CLocation |
CLocationModeManager.getLocation(Dockable dockable,
ExtendedMode mode)
Assuming that
dockable is currently not in mode mode ,
then this method searches for the previously stored location of dockable . |
Modifier and Type | Method and Description |
---|---|
void |
CLocationModeManager.setLocation(Dockable dockable,
CLocation location)
Tries to set the location of
dockable . |
void |
CLocationModeManager.setLocation(Dockable dockable,
ExtendedMode mode,
CLocation location)
Sets the default location of
dockable when going into
mode . |
Modifier and Type | Method and Description |
---|---|
CLocation |
CSplitDockStationHandle.Normal.getBaseLocation() |
CLocation |
CFlapDockStationHandle.getCLocation(Dockable dockable) |
CLocation |
CScreenDockStationHandle.getCLocation(Dockable dockable)
Gets a
CLocation describing the location of dockable on the station of this handle. |
CLocation |
CScreenDockStationHandle.External.getCLocation(Dockable dockable) |
CLocation |
CScreenDockStationHandle.Maximal.getCLocation(Dockable dockable) |
CLocation |
CSplitDockStationHandle.Normal.getCLocation(Dockable dockable) |
CLocation |
CSplitDockStationHandle.Maximal.getCLocation(Dockable dockable) |
CLocation |
ExternalizedCSplitDockStationHandler.Externalized.getCLocation(Dockable dockable) |
CLocation |
CFlapDockStationHandle.getCLocation(Dockable dockable,
Location location) |
CLocation |
CScreenDockStationHandle.getCLocation(Dockable dockable,
Location location)
Assuming dockable would be at location
location if it would be a child of this station,
returns the CLocation that matches location . |
CLocation |
CScreenDockStationHandle.External.getCLocation(Dockable dockable,
Location location) |
CLocation |
CScreenDockStationHandle.Maximal.getCLocation(Dockable dockable,
Location location) |
CLocation |
CSplitDockStationHandle.Normal.getCLocation(Dockable dockable,
Location location) |
CLocation |
CSplitDockStationHandle.Maximal.getCLocation(Dockable dockable,
Location location) |
CLocation |
ExternalizedCSplitDockStationHandler.Externalized.getCLocation(Dockable dockable,
Location location) |
Constructor and Description |
---|
CFlapDockStationHandle(String id,
CFlapDockStation station,
CLocation location)
Creates a new handle
|