| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Class IdeCommandItem defines a visual entity, representing a command.
An entity of this kind inherits all the functionality from IdeCommandItemBase and
provides additional behavior:
An entity can represent a check box item. In this case it can be in one of
three possible states: checked, unchecked, or indeterminated.
This interface provides methods for switching a check box entity to any state.
| Method Summary | |
boolean | isCheckbox()Checks whether this command item represents a check box item. |
boolean | isChecked()Checks whether this check box command item is in the "checked" state. |
boolean | isIndeterminate()Checks whether this check box command item is in the "indeterminated" state. |
void | setCheckbox(boolean value)Sets whether or not this command item is a check box. |
void | setChecked(boolean value)Sets "checked" state for this check box command item. |
void | setIndeterminate(boolean value)Sets "indeterminated" state for this check box command item. |
| Methods inherited from interface com.togethersoft.openapi.ide.command.IdeCommandItemBase |
addShortcut, getIcon, getId, getText, isEnabled, isSeparatorAfter, isSeparatorBefore, isVisible, removeShortcut, setEnabled, setIcon, setSeparatorAfter, setSeparatorBefore, setText, setVisible, shortcuts |
| Method Detail |
public boolean isCheckbox()
true if this command item represents a check box item, false otherwisepublic boolean isChecked()
true if this check box command item is in "checked" state, false otherwise.public boolean isIndeterminate()
true if this check box command item is in the "indeterminated" state,
false otherwise.public void setCheckbox(boolean value)
boolean flag. If true then this command item will be made a check box,
false then this command item will not be made a check box.public void setChecked(boolean value)
boolean value. If true then this check box command item will
false then this check box command item will be switched
public void setIndeterminate(boolean value)
boolean value. If true then this check box command item will
false then this check box command item will be
| ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||