|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.themes.ThemeDockableSelection
public class ThemeDockableSelection
A DockableSelection that forwards any calls to the DockableSelection of the current
DockTheme.
| Constructor Summary | |
|---|---|
ThemeDockableSelection(DockController controller)
Creates a new object |
|
| Method Summary | |
|---|---|
void |
addDockableSelectionListener(DockableSelectionListener listener)
Adds a listener that gets informed when the state of this selection changes. |
void |
close()
Called when the current selection is no longer needed either because a selection was done or was canceled. |
Component |
getComponent()
Gets the component which represents the selection. |
boolean |
hasChoices(DockController controller)
Checks whether controller has at least two different
Dockables which would be shown on this DockableSelection. |
void |
open(DockController controller)
Called when a new selection is about to happen. |
void |
removeDockableSelectionListener(DockableSelectionListener listener)
Removes a listener that gets informed when the state of this selection changes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThemeDockableSelection(DockController controller)
controller - the controller whose DockTheme will be used| Method Detail |
|---|
public void addDockableSelectionListener(DockableSelectionListener listener)
DockableSelection
addDockableSelectionListener in interface DockableSelectionlistener - the new listenerpublic void close()
DockableSelection
close in interface DockableSelectionpublic Component getComponent()
DockableSelection
getComponent in interface DockableSelectionpublic boolean hasChoices(DockController controller)
DockableSelectioncontroller has at least two different
Dockables which would be shown on this DockableSelection.
hasChoices in interface DockableSelectioncontroller - the controller which might not have any children at all
true if opening this DockableSelection gives
the user a choice, false if this selection would not show
anythingpublic void open(DockController controller)
DockableSelection
open in interface DockableSelectioncontroller - the controller for which the selection will happenpublic void removeDockableSelectionListener(DockableSelectionListener listener)
DockableSelection
removeDockableSelectionListener in interface DockableSelectionlistener - the new listener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||