|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.webui.dhtml.IlxWContainer ilog.webui.dhtml.IlxWComponent ilog.webui.dhtml.components.IlxWMenuItem ilog.webui.dhtml.components.IlxWCheckBoxMenuItem
public class IlxWCheckBoxMenuItem
A menu item that can be selected or deselected. If selected, the menu item typically appears with a check mark next to it. If unselected or deselected, the menu item appears without a check mark. Like a regular menu item, a check box menu item can have either text or a graphic icon associated with it, or both.
IlxWMenuBar
,
Serialized Form
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ilog.webui.dhtml.IlxWComponent |
---|
IlxWComponent.DynamicStyleMap |
Field Summary |
---|
Fields inherited from class ilog.webui.dhtml.IlxWContainer |
---|
listenerList |
Constructor Summary | |
---|---|
IlxWCheckBoxMenuItem()
Creates an initially unselected with no set text or
icon. |
|
IlxWCheckBoxMenuItem(String text)
Creates an initially unselected checkboxMenuItem with text. |
|
IlxWCheckBoxMenuItem(String text,
boolean b)
Creates a check box menu item with the specified text and selection state. |
|
IlxWCheckBoxMenuItem(String text,
String icon)
Creates an initially unselected checkboxMenuItem with the specified
text and icon. |
|
IlxWCheckBoxMenuItem(String text,
String icon,
boolean b)
Creates a check box menu item with the specified text, icon, and selection state. |
Method Summary | |
---|---|
boolean |
isSelected()
Returns the selected state of the check box menu item. |
void |
setEnabled(boolean b)
Enables (or disables) the menu item. |
void |
setSelected(boolean b)
Sets the selected-state of the check box menu item. |
Methods inherited from class ilog.webui.dhtml.components.IlxWMenuItem |
---|
getAction, getIcon, getText, isEnabled, isRoot, notifyDependencies, printComponent, setAction, setIcon, setText |
Methods inherited from class ilog.webui.dhtml.IlxWComponent |
---|
addPropertyChangeListener, addPropertyChangeListener, detach, doPrint, firePropertyChange, firePropertyChange, getName, getRealHtmlTagName, getStyle, invalidate, isInvalidated, print, removePropertyChangeListener, removePropertyChangeListener, setName, validate |
Methods inherited from class ilog.webui.dhtml.IlxWContainer |
---|
add, add, getAttribute, getAttributeNames, getComponent, getComponentCount, getComponentNamed, getComponents, getManager, getParent, getUserAgentRules, indexOf, isAncestorOf, remove, remove, removeAll, removeAttribute, setAttribute, setAuthorRules, setFinalizer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlxWCheckBoxMenuItem()
checkboxMenuItem
with no set text or
icon.
public IlxWCheckBoxMenuItem(String text)
checkboxMenuItem
with text.
text
- The text of the check box menu item.public IlxWCheckBoxMenuItem(String text, String icon)
checkboxMenuItem
with the specified
text and icon.
text
- The text of the menu item.icon
- The icon of the menu item.public IlxWCheckBoxMenuItem(String text, boolean b)
text
- The text of the check box menu item.b
- The selected state of the check box menu item.public IlxWCheckBoxMenuItem(String text, String icon, boolean b)
text
- The text of the check box menu item.icon
- The icon of the check box menu item.b
- The selected state of the check box menu item.Method Detail |
---|
public void setSelected(boolean b)
public void setEnabled(boolean b)
IlxWMenuItem
setEnabled
in class IlxWMenuItem
public boolean isSelected()
true
if the check box menu item is selected,
false
if it is not.
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |