|
||||||||||
| 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
bibliothek.gui.dock.common.intern.action.CDropDownItem
@FrameworkOnly public class CDropDownItem
An action which can be child of a dropdown-menu.
| Constructor Summary | |
|---|---|
protected |
CDropDownItem(SimpleDropDownItemAction action)
Creates a new action |
| Method Summary | |
|---|---|
protected void |
init(SimpleDropDownItemAction action)
Initializes this action, this method can be called only once. |
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 |
|---|
getAccelerator, getDisabledIcon, getIcon, getText, getTooltip, init, isEnabled, setAccelerator, setDisabledIcon, setEnabled, setIcon, setText, setTooltip |
| Methods inherited from class bibliothek.gui.dock.common.action.CAction |
|---|
init, intern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected CDropDownItem(SimpleDropDownItemAction action)
action - the internal representation, can be null if
init(SimpleDropDownItemAction) is called later| Method Detail |
|---|
protected void init(SimpleDropDownItemAction action)
action - the internal representationpublic 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 | |||||||||