|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@FrameworkOnly public interface SharingSelectableDockAction
A SelectableDockAction
whose properties are shared among all Dockable
s, clients
can modify the properties.
Method Summary | |
---|---|
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. |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingDropDownItemAction |
---|
isDropDownSelectable, isDropDownTriggerableNotSelected, isDropDownTriggerableSelected, setDropDownSelectable, setDropDownTriggerableNotSelected, setDropDownTriggerableSelected |
Methods inherited from interface bibliothek.gui.dock.action.actions.SharingStandardDockAction |
---|
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip |
Methods inherited from interface bibliothek.gui.dock.action.SelectableDockAction |
---|
addSelectableListener, isSelected, removeSelectableListener, setSelected |
Method Detail |
---|
boolean isSelected()
setSelected(boolean)
void setSelected(boolean selected)
selected
- the new stateIcon getSelectedIcon(ActionContentModifier modifier)
modifier
- tells in which context the icon is used
null
setSelectedIcon(ActionContentModifier, Icon)
,
isSelected()
void setSelectedIcon(ActionContentModifier modifier, Icon selectedIcon)
modifier
- tells in which context icon
will be usedselectedIcon
- The icon, can be null
setSelected(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |