|
|
||||
| Package com.dassault_systemes.catjdialog |
Class CATCheckBox
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATDialog
|
+-com.dassault_systemes.catjdialog.CATCheckBox
| Class Location |
| Class Description |
public class CATCheckBox
The checkbox graphical component.
<checkbox_path>.Title entry.
You may also set it programmatically using setTitle().
| Field Summary |
| Constructor Summary |
| CATCheckBox(CATDialog iDialog, String iName) |
| Method Summary |
| boolean | getState() |
| void | setState(boolean iState) |
| boolean | getEnable() |
| void | setEnable(boolean iEnable) |
| CATNotification | getStateChangedNotification() |
| String | getTitle() |
| void | setTitle(String iTitle) |
| Field Detail |
| Constructor Detail |
CATCheckBox(CATDialog iDialog, String iName)
Creates a checkbox with the specified parent and name.
iParentiName| Method Detail |
boolean getState()
Returns the checkbox state.
true if this checkbox state is "on"; false otherwise.
void setState(boolean iState)
Sets the checkbox state.
iStatetrue to set it to the "on" state; false to set it to "off"
boolean getEnable()
Determines whether this checkbox is enabled or not.
true if this checkbox is enabled; false otherwise.
void setEnable(boolean iEnable)
Enables or disables this checkbox.
A disabled checkbox state can't be changed by the user and doesn't fire
its StateChanged notification.
iEnabletrue, this checkbox is enabled; otherwise it is disabled.
CATNotification getStateChangedNotification()
Returns the checkbox state changed notification.
This notification is sent when the checkbox is ticked or unticked.
String getTitle()
Returns the checkbox title.
Returns the programmatic value if setTitle() has been called,
or tries to retrieve its title from the associated message catalog file
(<checkbox_path>.Title entry).
void setTitle(String iTitle)
Sets the checkbox title.
Calling this method sets programmatically the title. This should
be reserved for cases where the title can only be determined by dynamic
means.
The standard way of defining components messages is using CATNls catalog
files (supports NLS).
iTitle