|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.AbstractComponent
nextapp.echo.AbstractButton
nextapp.echo.ToggleButton
nextapp.echo.CheckBox
public class CheckBox
A selectable "check" button.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class nextapp.echo.ToggleButton |
|---|
ToggleButton.ToggleButtonModel |
| Field Summary |
|---|
| Fields inherited from interface nextapp.echo.ToolTipSupport |
|---|
TOOL_TIP_TEXT_CHANGED_PROPERTY |
| Constructor Summary | |
|---|---|
CheckBox()
Creates an initially unselected check box with no text or image. |
|
CheckBox(ImageReference icon)
Creates a initially unselected check box with the specified icon. |
|
CheckBox(ImageReference icon,
boolean selected)
Creates a check box with the specified icon and selection state. |
|
CheckBox(java.lang.String text)
Creates an initially unselected check box with the specified text. |
|
CheckBox(java.lang.String text,
boolean selected)
Creates a check box with the specified text and selection state. |
|
CheckBox(java.lang.String text,
ImageReference icon,
boolean selected)
Creates a check box with the specified text, icon and selection state. |
|
| Method Summary | |
|---|---|
boolean |
isAsync()
|
void |
setAsync(boolean async)
|
void |
setEnabled(boolean newValue)
Sets whether the component is enabled. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CheckBox()
public CheckBox(java.lang.String text)
text - The text to be displayed in the button.
public CheckBox(java.lang.String text,
boolean selected)
text - The text to be displayed in the button.selected - The selection state of the check box.public CheckBox(ImageReference icon)
icon - The icon to be displayed in the button.
public CheckBox(ImageReference icon,
boolean selected)
icon - The icon to be displayed in the button.selected - The selection state of the check box.
public CheckBox(java.lang.String text,
ImageReference icon,
boolean selected)
text - The text to be displayed in the button.icon - The icon to be displayed in the button.selected - The selection state of the check box.| Method Detail |
|---|
public void setEnabled(boolean newValue)
Component
setEnabled in interface ComponentsetEnabled in class AbstractComponentnewValue - True if the component is enabled.public boolean isAsync()
isAsync in class AbstractButtonpublic void setAsync(boolean async)
setAsync in class AbstractButton
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||