public abstract class SimpleDropDownItemAction extends SimpleDockAction implements DropDownItemAction, SharingDropDownItemAction
DropDownAction and
which has advanced information for the DropDownAction.listenersBUTTON_CONTENT_FILTER| Constructor and Description |
|---|
SimpleDropDownItemAction(boolean monitorDisabling)
Creates a new action.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDropDownSelectable()
Tells whether this action can be selected.
|
boolean |
isDropDownSelectable(Dockable dockable)
Tells whether this action can be selected by a
DropDownAction,
if it is shown for dockable. |
boolean |
isDropDownTriggerable(Dockable dockable,
boolean selected)
Tells whether this action can be triggered if it is shown as child of
a
DropDownAction. |
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. |
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isAcceleratorGlobal, isEnabled, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unboundaddDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltipaddDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListenerbind, createView, trigger, unbindpublic SimpleDropDownItemAction(boolean monitorDisabling)
monitorDisabling - whether to monitor the current DisablingStrategypublic void setDropDownSelectable(boolean dropDownSelectable)
SharingDropDownItemActionDropDownAction or not.setDropDownSelectable in interface SharingDropDownItemActiondropDownSelectable - true if this action can
be selectedpublic boolean isDropDownSelectable(Dockable dockable)
DropDownItemActionDropDownAction,
if it is shown for dockable.isDropDownSelectable in interface DropDownItemActiondockable - the Dockable for which the action is showntrue if the action can be selectedpublic boolean isDropDownSelectable()
SharingDropDownItemActionisDropDownSelectable in interface SharingDropDownItemActiontrue if it can be selectedSharingDropDownItemAction.setDropDownSelectable(boolean)public void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
SharingDropDownItemActionDropDownAction or not.setDropDownTriggerableSelected in interface SharingDropDownItemActiondropDownTriggerableSelected - true if this action
can be triggeredpublic boolean isDropDownTriggerableSelected()
SharingDropDownItemActionDropDownAction or not.isDropDownTriggerableSelected in interface SharingDropDownItemActiontrue if the action can be triggeredpublic void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
SharingDropDownItemActionDropDownAction or not.setDropDownTriggerableNotSelected in interface SharingDropDownItemActiondropDownTriggerableNotSelected - true if this action
can be triggeredpublic boolean isDropDownTriggerableNotSelected()
SharingDropDownItemActionDropDownAction or not.isDropDownTriggerableNotSelected in interface SharingDropDownItemActiontrue if the action can be triggeredpublic boolean isDropDownTriggerable(Dockable dockable, boolean selected)
DropDownItemActionDropDownAction.isDropDownTriggerable in interface DropDownItemActiondockable - the Dockable for which the action is shownselected - true if the action is selected (the action
is triggered because the user clicks onto the DropDownAction),
or false if this action is just in a menu.true if the action can be triggeredCopyright © 2017 Docking Frames. All rights reserved.