|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.facile.mode.Location
public class Location
Describes the location of a Dockable on some station.
| Constructor Summary | |
|---|---|
Location(Path mode,
String root,
DockableProperty location)
Creates a new location. |
|
Location(Path mode,
String root,
DockableProperty location,
boolean applicationDefined)
Creates a new location. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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 null
public 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 application| Method Detail |
|---|
public 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.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||