|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.control.DockableSelector
public class DockableSelector
A DockableSelector
is able to open a popup when the user hits a special
combination of keys. The popup uses a DockableSelection
to present
the user different Dockable
s from which he can choose one to become focused.
Field Summary | |
---|---|
static PropertyKey<KeyStroke> |
INIT_SELECTION
key for the DockProperties , telling which KeyStroke activates the selection |
Constructor Summary | |
---|---|
DockableSelector()
|
Method Summary | |
---|---|
void |
cancel()
Closes the currently open popup window without changing the focused Dockable |
boolean |
isOpen()
Tells whether the window is shown to the user right now. |
void |
select()
Opens the popup window if possible and allows the user the choice between different Dockable s. |
void |
setController(DockController controller)
Sets the controller which should be observed. |
void |
stop(Dockable dockable)
Close the currently open popup window and changes the focused Dockable to dockable . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyKey<KeyStroke> INIT_SELECTION
DockProperties
, telling which KeyStroke
activates the selection
Constructor Detail |
---|
public DockableSelector()
Method Detail |
---|
public void setController(DockController controller)
controller
- the currently observed controllerpublic void select()
Dockable
s.
public boolean isOpen()
public void cancel()
Dockable
public void stop(Dockable dockable)
Dockable
to dockable
.
dockable
- the element that will own the focus
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |