@FrameworkOnly public interface SharingSelectableDockAction extends SharingDropDownItemAction, SelectableDockAction
SelectableDockAction
whose properties are shared among all Dockable
s, clients
can modify the properties.Modifier and Type | Method and Description |
---|---|
javax.swing.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,
javax.swing.Icon selectedIcon)
Sets the icon that will be shown, when this action is selected.
|
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
addSelectableListener, isSelected, removeSelectableListener, setSelected
isDropDownSelectable, isDropDownTriggerable
boolean isSelected()
setSelected(boolean)
void setSelected(boolean selected)
selected
- the new statejavax.swing.Icon getSelectedIcon(ActionContentModifier modifier)
modifier
- tells in which context the icon is usednull
setSelectedIcon(ActionContentModifier, Icon)
,
isSelected()
void setSelectedIcon(ActionContentModifier modifier, javax.swing.Icon selectedIcon)
modifier
- tells in which context icon
will be usedselectedIcon
- The icon, can be null
setSelected(boolean)