|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.action.actions.AbstractStandardDockAction
bibliothek.gui.dock.action.actions.SimpleDockAction
bibliothek.gui.dock.action.actions.AbstractSimpleDropDownAction
bibliothek.gui.dock.action.actions.SimpleDropDownAction
public class SimpleDropDownAction
A dropdown action that has the same properties for all Dockables.
| Field Summary |
|---|
| Fields inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
BUTTON_CONTENT_FILTER |
| Fields inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
BUTTON_CONTENT_FILTER |
| Fields inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
BUTTON_CONTENT_FILTER |
| Constructor Summary | |
|---|---|
SimpleDropDownAction()
Creates a new action |
|
SimpleDropDownAction(boolean monitorDisabling)
Creates a new action |
|
| Method Summary | |
|---|---|
void |
add(DockAction action)
Adds an action to the menu. |
protected DockActionSource |
getSubActions()
Gets the DockActionSource which contains all the actions of this dropdown menu. |
DefaultDockActionSource |
getSubActions(Dockable dockable)
Gets the actions that should be shown for this action. |
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. |
| Methods inherited from class bibliothek.gui.dock.action.actions.AbstractSimpleDropDownAction |
|---|
addDropDownActionListener, createView, fireSelectionChanged, getFilter, getListeners, getSelection, getSelection, removeDropDownActionListener, setFilter, setSelection, setSelection, trigger |
| Methods inherited from class bibliothek.gui.dock.action.actions.SimpleDockAction |
|---|
bound, getAccelerator, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getIcon, getIconContexts, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setIcon, setText, setTooltip, trigger, unbound |
| Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
|---|
addDockActionListener, bind, fireActionEnabledChanged, fireActionIconChanged, fireActionRepresentativeChanged, fireActionTextChanged, fireActionTooltipTextChanged, getBoundDockables, isBound, removeDockActionListener, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.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.StandardDockAction |
|---|
addDockActionListener, getDockableRepresentation, getIcon, getIconContexts, getText, getTooltipText, isEnabled, removeDockActionListener |
| Methods inherited from interface bibliothek.gui.dock.action.DockAction |
|---|
bind, createView, trigger, unbind |
| Constructor Detail |
|---|
public SimpleDropDownAction()
public SimpleDropDownAction(boolean monitorDisabling)
monitorDisabling - whether the current DisablingStrategy should be monitored| Method Detail |
|---|
public void add(DockAction action)
SharingDropDownDockAction
add in interface SharingDropDownDockActionaction - the action to add
public void insert(int index,
DockAction action)
SharingDropDownDockAction
insert in interface SharingDropDownDockActionindex - the location of the actionaction - the new action
public void insert(int index,
DockAction... action)
SharingDropDownDockAction
insert in interface SharingDropDownDockActionindex - the location of the first actionaction - the actions to addpublic void remove(int index)
SharingDropDownDockAction
remove in interface SharingDropDownDockActionindex - the location of the actionpublic int size()
SharingDropDownDockAction
size in interface SharingDropDownDockActionpublic void remove(DockAction action)
SharingDropDownDockActionaction from the menu.
remove in interface SharingDropDownDockActionaction - the action to removeprotected DockActionSource getSubActions()
AbstractSimpleDropDownActionDockActionSource which contains all the actions of this dropdown menu.
getSubActions in class AbstractSimpleDropDownActionnullpublic DefaultDockActionSource getSubActions(Dockable dockable)
DropDownAction
getSubActions in interface DropDownActiongetSubActions in class AbstractSimpleDropDownActiondockable - the Dockable for which the actions are requested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||