|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.common.action.CAction
bibliothek.gui.dock.common.intern.action.CDecorateableAction<A>
bibliothek.gui.dock.common.intern.action.CDropDownItem<A>
A - the kind of action that represents this CAction@FrameworkOnly public class CDropDownItem<A extends CommonDropDownItem>
An action which can be child of a dropdown-menu.
| Constructor Summary | |
|---|---|
protected |
CDropDownItem(A action)
Creates a new action |
| Method Summary | |
|---|---|
boolean |
isDropDownSelectable()
Tells whether this item can be selected if it is a child of a CDropDownButton |
boolean |
isDropDownTriggerableNotSelected()
Tells whether this item can be triggered when it is a child of a CDropDownButton,
but is not selected by this CDropDownButton. |
boolean |
isDropDownTriggerableSelected()
Tells whether this item can be triggered when it is a child of a CDropDownButton,
and is selected by this CDropDownButton. |
void |
setDropDownSelectable(boolean dropDownSelectable)
Sets whether this item can get selected when it is a child of a CDropDownButton. |
void |
setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
Sets whether this item can be triggered when it is a child of a CDropDownButton,
but is not selected by this CDropDownButton. |
void |
setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
Sets whether this item can be triggered when it is a child of a CDropDownButton,
and is selected by this CDropDownButton. |
| Methods inherited from class bibliothek.gui.dock.common.intern.action.CDecorateableAction |
|---|
addDecorateableActionListener, getAccelerator, getDisabledHoverIcon, getDisabledIcon, getDisabledPressedIcon, getHoverIcon, getIcon, getPressedIcon, getText, getTooltip, init, intern, isEnabled, isShowTextOnButtons, removeDecorateableActionListener, setAccelerator, setDisabledHoverIcon, setDisabledIcon, setDisabledPressedIcon, setEnabled, setHoverIcon, setIcon, setPressedIcon, setShowTextOnButtons, setText, setTooltip |
| Methods inherited from class bibliothek.gui.dock.common.action.CAction |
|---|
init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CDropDownItem(A action)
action - the internal representation, can be null if
CDecorateableAction.init(bibliothek.gui.dock.common.action.core.CommonDecoratableDockAction) is called later| Method Detail |
|---|
public void setDropDownSelectable(boolean dropDownSelectable)
CDropDownButton.
dropDownSelectable - true if this item can be selectedpublic boolean isDropDownSelectable()
CDropDownButton
true if this item can be selectedpublic void setDropDownTriggerableNotSelected(boolean dropDownTriggerableNotSelected)
CDropDownButton,
but is not selected by this CDropDownButton.
dropDownTriggerableNotSelected - true if this item
can be triggered when it is not selectedpublic boolean isDropDownTriggerableNotSelected()
CDropDownButton,
but is not selected by this CDropDownButton.
true if this item can be triggered even when it
is not selectedpublic void setDropDownTriggerableSelected(boolean dropDownTriggerableSelected)
CDropDownButton,
and is selected by this CDropDownButton.
dropDownTriggerableSelected - true if this item
can be triggered when it is selectedpublic boolean isDropDownTriggerableSelected()
CDropDownButton,
and is selected by this CDropDownButton.
true if this item can be triggered when it is selected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||