@FrameworkOnly public interface SharingSelectableDockAction extends SharingDropDownItemAction, SelectableDockAction
SelectableDockAction whose properties are shared among all Dockables, clients
can modify the properties.| Modifier and Type | Method and Description |
|---|---|
Icon |
getSelectedIcon(ActionContentModifier modifier)
Gets the icon that is shown when this action is selected.
|
boolean |
isSelected()
Gets the selected-state of this action.
|
void |
setSelected(boolean selected)
Sets the state of this action.
|
void |
setSelectedIcon(ActionContentModifier modifier,
Icon selectedIcon)
Sets the icon that will be shown, when this action is selected.
|
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelectedgetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltipaddSelectableListener, isSelected, removeSelectableListener, setSelectedisDropDownSelectable, isDropDownTriggerableboolean isSelected()
setSelected(boolean)void setSelected(boolean selected)
selected - the new stateIcon getSelectedIcon(ActionContentModifier modifier)
modifier - tells in which context the icon is usednullsetSelectedIcon(ActionContentModifier, Icon),
isSelected()void setSelectedIcon(ActionContentModifier modifier, Icon selectedIcon)
modifier - tells in which context icon will be usedselectedIcon - The icon, can be nullsetSelected(boolean)Copyright © 2017 Docking Frames. All rights reserved.