|
||||||||||
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 |
Constructor Summary | |
---|---|
SimpleDropDownItemAction()
|
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, getDisabledIcon, getDockableRepresentation, getDockableRepresentation, getIcon, getIcon, getText, getText, getTooltip, getTooltipText, getTooltipText, isEnabled, isEnabled, setAccelerator, setDisabledIcon, setDockableRepresentation, setEnabled, setIcon, setText, setTooltip, trigger, unbound |
Methods inherited from class bibliothek.gui.dock.action.actions.AbstractStandardDockAction |
---|
addDockActionListener, bind, fireActionDisabledIconChanged, 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.DockAction |
---|
createView, trigger |
Constructor Detail |
---|
public SimpleDropDownItemAction()
Method Detail |
---|
public void setDropDownSelectable(boolean dropDownSelectable)
DropDownAction
or not.
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()
true
if it can be selectedsetDropDownSelectable(boolean)
public void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
DropDownAction
or not.
dropDownTriggerableSelected
- true
if this action
can be triggeredpublic boolean isDropDownTriggerableSelected()
DropDownAction
or not.
true
if the action can be triggeredpublic void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
DropDownAction
or not.
dropDownTriggerableNotSelected
- true
if this action
can be triggeredpublic boolean isDropDownTriggerableNotSelected()
DropDownAction
or not.
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 |