| Constructor and Description |
|---|
Location(Path mode,
String root,
DockableProperty location)
Creates a new location.
|
Location(Path mode,
String root,
DockableProperty location,
boolean applicationDefined)
Creates a new location.
|
| Modifier and Type | Method and Description |
|---|---|
DockableProperty |
getLocation()
Gets the location on the parent station.
|
Path |
getMode()
Gets the mode which is responsible for this location.
|
String |
getRoot()
Gets the unique identifier of the parent station.
|
boolean |
isApplicationDefined()
Tells whether this location was defined by the client application.
|
void |
resetApplicationDefined()
Sets the property
isApplicationDefined() to false. |
String |
toString() |
public Location(Path mode, String root, DockableProperty location)
mode - the mode which is responsible for handling this locationroot - the identifier of the parent station, must not be nulllocation - the location on the station, may be nullpublic Location(Path mode, String root, DockableProperty location, boolean applicationDefined)
mode - the mode which is responsible for handling this locationroot - the identifier of the parent station, must not be nulllocation - the location on the station, may be nullapplicationDefined - whether this location was defined by the client applicationpublic Path getMode()
public String getRoot()
nullpublic DockableProperty getLocation()
nullpublic boolean isApplicationDefined()
CDockable.setLocation(bibliothek.gui.dock.common.CLocation) is
used to set the location of a CDockable. If possible application defined locations should
not be automatically rewritten.Dockable has been put at this location.public void resetApplicationDefined()
isApplicationDefined() to false.Copyright © 2018. All rights reserved.