|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SelectableDockAction
An action which has two states "selected" and "not selected".
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
BUTTON_CONTENT_FILTER |
| Method Summary | |
|---|---|
void |
addSelectableListener(SelectableDockActionListener listener)
Adds a listener to this action. |
boolean |
isSelected(Dockable dockable)
Tells whether this DockAction is selected or not (in respect to the given dockable). |
void |
removeSelectableListener(SelectableDockActionListener listener)
Removes a listener from this action. |
void |
setSelected(Dockable dockable,
boolean selected)
Sets the selected state for dockable. |
| Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction |
|---|
isDropDownSelectable, isDropDownTriggerable |
| Methods inherited from interface bibliothek.gui.dock.action.StandardDockAction |
|---|
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener |
| Methods inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
bind, createView, trigger, unbind |
| Method Detail |
|---|
boolean isSelected(Dockable dockable)
dockable).
dockable - The Dockable for which this action may be selected
or not selected
true if this DockAction is selcted, false
otherwise
void setSelected(Dockable dockable,
boolean selected)
dockable.
dockable - the affected dockableselected - the new statevoid addSelectableListener(SelectableDockActionListener listener)
Dockable changes.
listener - the new listenervoid removeSelectableListener(SelectableDockActionListener listener)
listener - the listener to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||