public interface SelectableDockAction extends StandardDockAction, StandardDropDownItemAction
BUTTON_CONTENT_FILTER| Modifier and Type | Method and Description |
|---|---|
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. |
isDropDownSelectable, isDropDownTriggerableaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerbind, createView, trigger, unbindboolean isSelected(Dockable dockable)
dockable).dockable - The Dockable for which this action may be selected
or not selectedtrue if this DockAction is selected, false
otherwisevoid 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 removeCopyright © 2017 Docking Frames. All rights reserved.