|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.DockFrontend
bibliothek.gui.dock.common.intern.CDockFrontend
@FrameworkOnly public class CDockFrontend
A DockFrontend that uses CSetting instead of Setting.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class bibliothek.gui.DockFrontend |
|---|
DockFrontend.DockInfo, DockFrontend.Hider, DockFrontend.RootInfo |
| Field Summary |
|---|
| Fields inherited from class bibliothek.gui.DockFrontend |
|---|
DOCKABLE_KEY_PREFIX, HIDE_ACCELERATOR, ROOT_KEY_PREFIX |
| Constructor Summary | |
|---|---|
CDockFrontend(CControlAccess control,
DockController controller)
Creates a new frontend. |
|
| Method Summary | |
|---|---|
void |
addListener(CDockFrontendListener listener)
Adds listener to this frontend, listener will be informed
about changes of this frontend. |
protected Setting |
createSetting()
Creates a bag that contains all information needed to describe the current set of properties. |
protected CDockFrontendListener[] |
frontendListeners()
Gets all the listeners that are registered at this frontend. |
Setting |
getSetting(boolean entry)
Creates a new Setting which describes the current set of
properties of this frontend. |
boolean |
isRevertToBasicModes()
Tells whether only basic modes are allowed after loading a layout. |
void |
remove(Dockable dockable)
Removes a Dockable which was earlier added to this frontend. |
void |
removeListener(CDockFrontendListener listener)
Removes listener from this frontend. |
void |
setRevertToBasicModes(boolean revertToBasicModes)
If set, then loading a layout will trigger a call to CLocationModeManager.ensureBasicModes(). |
void |
setSetting(Setting setting,
boolean entry)
Changes the content of all root-stations according to setting. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CDockFrontend(CControlAccess control,
DockController controller)
control - the owner of this objectcontroller - the controller to use| Method Detail |
|---|
public void addListener(CDockFrontendListener listener)
listener to this frontend, listener will be informed
about changes of this frontend.
listener - the listener to add, not nullprotected CDockFrontendListener[] frontendListeners()
public void removeListener(CDockFrontendListener listener)
listener from this frontend.
listener - the listener to removepublic void setRevertToBasicModes(boolean revertToBasicModes)
CLocationModeManager.ensureBasicModes().
revertToBasicModes - whether to allow only basic modes after loadingpublic boolean isRevertToBasicModes()
true if non-basic modes are forbiddenpublic void remove(Dockable dockable)
DockFrontendDockable which was earlier added to this frontend.
remove in class DockFrontenddockable - the element to removeprotected Setting createSetting()
DockFrontend
createSetting in class DockFrontendpublic Setting getSetting(boolean entry)
DockFrontendSetting which describes the current set of
properties of this frontend. The setting contains information about
the location of each Dockable.
getSetting in class DockFrontendentry - true if only the information for an ordinary
entry should be stored, false if the setting should contain
as much information as possible.
DockFrontend.createSetting()
public void setSetting(Setting setting,
boolean entry)
DockFrontendsetting.empty infos if it finds
information for a non existing, non empty Dockable but whose
key passes the methods of MissingDockableStrategy.
setSetting in class DockFrontendsetting - a new set of propertiesentry - true if only information for an ordinary
entry should be extracted, false if as much information
as possible should be extracted. The value of this argument should
be the same as was used when DockFrontend.getSetting(boolean) was called.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||