|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.action.actions.AbstractStandardDockAction bibliothek.gui.dock.action.actions.SimpleDockAction bibliothek.gui.dock.action.actions.SimpleDropDownItemAction
public abstract class SimpleDropDownItemAction
An action that can be shown as child of a DropDownAction
and
which has advanced information for the DropDownAction
.
Field Summary |
---|
Fields inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
listeners |
Fields inherited from interface bibliothek.gui.dock.action.DockAction |
---|
BUTTON_CONTENT_FILTER |
Constructor Summary | |
---|---|
SimpleDropDownItemAction(boolean monitorDisabling)
Creates a new action. |
Method Summary | |
---|---|
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. |
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.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 |
Constructor Detail |
---|
public SimpleDropDownItemAction(boolean monitorDisabling)
monitorDisabling
- whether to monitor the current DisablingStrategy
Method Detail |
---|
public void setDropDownSelectable(boolean dropDownSelectable)
SharingDropDownItemAction
DropDownAction
or not.
setDropDownSelectable
in interface SharingDropDownItemAction
dropDownSelectable
- true
if this action can
be selectedpublic boolean isDropDownSelectable(Dockable dockable)
DropDownItemAction
DropDownAction
,
if it is shown for dockable
.
isDropDownSelectable
in interface DropDownItemAction
dockable
- the Dockable for which the action is shown
true
if the action can be selectedpublic boolean isDropDownSelectable()
SharingDropDownItemAction
isDropDownSelectable
in interface SharingDropDownItemAction
true
if it can be selectedSharingDropDownItemAction.setDropDownSelectable(boolean)
public void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
SharingDropDownItemAction
DropDownAction
or not.
setDropDownTriggerableSelected
in interface SharingDropDownItemAction
dropDownTriggerableSelected
- true
if this action
can be triggeredpublic boolean isDropDownTriggerableSelected()
SharingDropDownItemAction
DropDownAction
or not.
isDropDownTriggerableSelected
in interface SharingDropDownItemAction
true
if the action can be triggeredpublic void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
SharingDropDownItemAction
DropDownAction
or not.
setDropDownTriggerableNotSelected
in interface SharingDropDownItemAction
dropDownTriggerableNotSelected
- true
if this action
can be triggeredpublic boolean isDropDownTriggerableNotSelected()
SharingDropDownItemAction
DropDownAction
or not.
isDropDownTriggerableNotSelected
in interface SharingDropDownItemAction
true
if the action can be triggeredpublic boolean isDropDownTriggerable(Dockable dockable, boolean selected)
DropDownItemAction
DropDownAction
.
isDropDownTriggerable
in interface DropDownItemAction
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |