public interface DockableSelection
DockableSelection is a Component which shows some or all
Dockables of a DockController. The user can select one of
the Dockable either by using the mouse or the keyboard.| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean hasChoices(DockController controller)
controller has at least two different
Dockables which would be shown on this DockableSelection.controller - the controller which might not have any children at alltrue if opening this DockableSelection gives
the user a choice, false if this selection would not show
anythingComponent getComponent()
void open(DockController controller)
controller - the controller for which the selection will happenvoid close()
void addDockableSelectionListener(DockableSelectionListener listener)
listener - the new listenervoid removeDockableSelectionListener(DockableSelectionListener listener)
listener - the new listenerCopyright © 2017 Docking Frames. All rights reserved.