@FrameworkOnly public interface SharingDropDownDockAction extends SharingStandardDockAction, DropDownAction
SharingDropDownDockAction
is a DropDownAction
whose properties are shared by
all Dockable
s and whose properties can be set by the client.BUTTON_CONTENT_FILTER
Modifier and Type | Method and Description |
---|---|
void |
add(DockAction action)
Adds an action to the menu.
|
void |
insert(int index,
DockAction... action)
Inserts a list of actions into the menu.
|
void |
insert(int index,
DockAction action)
Inserts an action into the menu.
|
void |
remove(DockAction action)
Removes
action from the menu. |
void |
remove(int index)
Removes an action from the menu.
|
int |
size()
Gets the number of actions shown in the menu.
|
getAccelerator, getDisabledIcon, getDockableRepresentation, getIcon, getIcon, getText, getTooltip, getTooltipText, isAcceleratorGlobal, isEnabled, setAccelerator, setAcceleratorIsGlobal, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip
addDropDownActionListener, getFilter, getSelection, getSubActions, removeDropDownActionListener, setSelection
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener
bind, createView, trigger, unbind
void add(DockAction action)
action
- the action to addvoid insert(int index, DockAction action)
index
- the location of the actionaction
- the new actionvoid insert(int index, DockAction... action)
index
- the location of the first actionaction
- the actions to addvoid remove(int index)
index
- the location of the actionint size()
void remove(DockAction action)
action
from the menu.action
- the action to remove