public interface DropDownItemAction
DropDownAction
. The properties
of this action are read by the view, for example if this action is wrapped into
a DropDownViewItem
.Modifier and Type | Method and Description |
---|---|
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 isDropDownSelectable(Dockable dockable)
DropDownAction
,
if it is shown for dockable
.dockable
- the Dockable for which the action is showntrue
if the action can be selectedboolean isDropDownTriggerable(Dockable dockable, boolean selected)
DropDownAction
.dockable
- 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 triggered