|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.DockFrontend.DockInfo
public class DockFrontend.DockInfo
Information about a Dockable.
| Constructor Summary | |
|---|---|
DockFrontend.DockInfo(Dockable dockable,
String key)
Creates a new DockInfo. |
|
| Method Summary | |
|---|---|
Dockable |
getDockable()
The element for which this object stores information. |
String |
getKey()
The name which is used for this object. |
DockLayoutComposition |
getLayout()
Gets information about the layout of this element. |
DockableProperty |
getLocation()
Gets the location of the element which it had
the last time it was made invisible. |
String |
getRoot()
Gets the name of the station on which the element
was the last time when it was made invisible. |
DefaultDockActionSource |
getSource()
Gets the DockActionSource which will be added to the offers
of the element. |
boolean |
isEntryLayout()
If set, then every entry Setting can change the layout
of this element. |
boolean |
isHideable()
Tells whether to show a "close"-action for the dockable
or not. |
boolean |
isShown()
Tells whether this infos dockable should be shown. |
void |
setDockable(Dockable dockable)
Exchanges the dockable which is stored in this DockFrontend.DockInfo |
void |
setEntryLayout(boolean entryLayout)
If set, then every entry Setting can change the layout
of this element. |
void |
setHideable(boolean hideable)
Sets whether the element can be made
invisible or not. |
void |
setLayout(DockLayoutComposition layout)
Sets information about the layout of this element. |
void |
setLocation(String root,
DockableProperty location)
Sets the location of the element. |
void |
setShown(boolean shown)
Sets whether the dockable of this entry should be shown or not. |
void |
updateHideAction()
Updates the visibility-state of the hide action |
void |
updateLocation()
Updates the values of root and location
according to the current location of the element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DockFrontend.DockInfo(Dockable dockable,
String key)
dockable - the element whose informations are storedkey - the name of the element| Method Detail |
|---|
public void setShown(boolean shown)
FrontendEntry
setShown in interface FrontendEntryshown - whether the element should be shownpublic boolean isShown()
FrontendEntry
isShown in interface FrontendEntrypublic boolean isEntryLayout()
FrontendEntrySetting can change the layout
of this element.
isEntryLayout in interface FrontendEntrytrue if the layout of this element should be
stored always.public void setEntryLayout(boolean entryLayout)
FrontendEntrySetting can change the layout
of this element.
setEntryLayout in interface FrontendEntryentryLayout - if the layout of this element should be
stored always.public boolean isHideable()
FrontendEntrydockable
or not.
isHideable in interface FrontendEntrytrue if the element can be made invisible.public void setHideable(boolean hideable)
FrontendEntrythe element can be made
invisible or not. This method will have an immediate effect.
setHideable in interface FrontendEntryhideable - the new statepublic void updateHideAction()
public DefaultDockActionSource getSource()
DockActionSource which will be added to the offers
of the element.
public Dockable getDockable()
FrontendEntry
getDockable in interface FrontendEntrynullpublic void setDockable(Dockable dockable)
DockFrontend.DockInfo
dockable - the new dockable, can be nullpublic String getKey()
FrontendEntry
getKey in interface FrontendEntrypublic void updateLocation()
root and location
according to the current location of the element.
public void setLocation(String root,
DockableProperty location)
FrontendEntrythe element. Note that this
method will have no effect if the dockable is currently shown.
setLocation in interface FrontendEntryroot - the root, might be nulllocation - the location, might be nullpublic String getRoot()
FrontendEntrythe element
was the last time when it was made invisible.
getRoot in interface FrontendEntrynullpublic DockableProperty getLocation()
FrontendEntrythe element which it had
the last time it was made invisible.
getLocation in interface FrontendEntrynullpublic void setLayout(DockLayoutComposition layout)
FrontendEntry
setLayout in interface FrontendEntrylayout - the layout, can be nullpublic DockLayoutComposition getLayout()
FrontendEntry
getLayout in interface FrontendEntrynull
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||