|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.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 Dockables from which he can choose one to become focused.
| Field Summary | |
|---|---|
static PropertyKey<javax.swing.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 |
void |
select()
Opens the popup window if possible and allows the user the choice between different Dockables. |
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<javax.swing.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()
Dockables.
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 | |||||||||