bibliothek.gui.dock.action.actions
Interface SharingDropDownItemAction

All Superinterfaces:
DockAction, DropDownItemAction, SharingStandardDockAction, StandardDockAction
All Known Subinterfaces:
CommonDropDownItem, CommonSelectableAction, SharingSelectableDockAction
All Known Implementing Classes:
CCloseAction.Action, CExtendedModeAction.Action, CloseAction, CommonSimpleButtonAction, CommonSimpleCheckAction, CommonSimpleRadioAction, CPanelPopup.PanelPopup, DockFrontend.Hider, ExternalizedModeAction, LocationModeAction, MaximizedModeAction, MinimizedModeAction, NormalModeAction, RenameAction, RenameAction.RenameDefaultDockable, RenameAction.RenameFlapDockStation, RenameAction.RenameSplitDockStation, RenameAction.RenameStackDockStation, SimpleButtonAction, SimpleDropDownItemAction, SimpleSelectableAction, SimpleSelectableAction.Check, SimpleSelectableAction.Radio, StationChildrenActionSource.FocusAction

@FrameworkOnly
public interface SharingDropDownItemAction
extends SharingStandardDockAction, DropDownItemAction

A DropDownItemAction whose properties are shared among all Dockables, the properties can be modified by the client.

Author:
Benjamin Sigg

Field Summary
 
Fields inherited from interface bibliothek.gui.dock.action.DockAction
BUTTON_CONTENT_FILTER
 
Method Summary
 boolean isDropDownSelectable()
          Tells whether this action can be selected.
 boolean isDropDownTriggerableNotSelected()
          Tells whether this action can be triggered when shown on, but not selected by, a DropDownAction or not.
 boolean isDropDownTriggerableSelected()
          Tells whether this action can be triggered when shown on and selected by a DropDownAction or not.
 void setDropDownSelectable(boolean dropDownSelectable)
          Sets whether this action can be selected if it is a child of a DropDownAction or not.
 void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
          Sets whether this action can be triggered when shown on, but not selected by, a DropDownAction or not.
 void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
          Sets whether this action can be triggered when shown on, and selected by, a DropDownAction or not.
 
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.StandardDockAction
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
 
Methods inherited from interface bibliothek.gui.dock.action.DockAction
bind, createView, trigger, unbind
 
Methods inherited from interface bibliothek.gui.dock.action.dropdown.DropDownItemAction
isDropDownSelectable, isDropDownTriggerable
 

Method Detail

setDropDownSelectable

void setDropDownSelectable(boolean dropDownSelectable)
Sets whether this action can be selected if it is a child of a DropDownAction or not.

Parameters:
dropDownSelectable - true if this action can be selected

isDropDownSelectable

boolean isDropDownSelectable()
Tells whether this action can be selected.

Returns:
true if it can be selected
See Also:
setDropDownSelectable(boolean)

setDropDownTriggerableSelected

void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
Sets whether this action can be triggered when shown on, and selected by, a DropDownAction or not.

Parameters:
dropDownTriggerableSelected - true if this action can be triggered

isDropDownTriggerableSelected

boolean isDropDownTriggerableSelected()
Tells whether this action can be triggered when shown on and selected by a DropDownAction or not.

Returns:
true if the action can be triggered

setDropDownTriggerableNotSelected

void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
Sets whether this action can be triggered when shown on, but not selected by, a DropDownAction or not.

Parameters:
dropDownTriggerableNotSelected - true if this action can be triggered

isDropDownTriggerableNotSelected

boolean isDropDownTriggerableNotSelected()
Tells whether this action can be triggered when shown on, but not selected by, a DropDownAction or not.

Returns:
true if the action can be triggered