|
|
||||
| Package com.dassault_systemes.catjdialog |
Class CATButton
|
| Class Hierarchy |
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATDialog
|
+-com.dassault_systemes.catjdialog.CATButton
| Class Location |
| Class Description |
public class CATButton
The button graphical component.
<button_path>.Title entry.
You may also set it programmatically using setTitle().
<button_path>.Tooltip entry.
You may also set it programmatically using setTooltip().
| Field Summary |
| Constructor Summary |
| CATButton(CATDialog iDialog, String iName) |
| Method Summary |
| CATNotification | getButtonActivatedNotification() |
| boolean | getEnable() |
| void | setEnable(boolean iEnable) |
| String | getTitle() |
| void | setTitle(String iTitle) |
| String | getTooltip() |
| void | setTooltip(String iTooltip) |
| Field Detail |
| Constructor Detail |
CATButton(CATDialog iDialog, String iName)
Creates a button with the specified parent and name.
iParentiName| Method Detail |
CATNotification getButtonActivatedNotification()
Returns the button activation notification.
This notification is sent when the button is pressed.
boolean getEnable()
Determines whether this button is enabled or not.
true if this button is enabled; false otherwise.
void setEnable(boolean iEnable)
Enables or disables this button.
A disabled button doesn't fire its ButtonActivated notification.
iEnabletrue, this button is enabled; otherwise it is disabled.
String getTitle()
Returns the button's title.
Returns the programmatic value if setTitle() has been called,
or tries to retrieve its title from the associated message catalog file
(<button_path>.Title entry).
void setTitle(String iTitle)
Sets the button's 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
String getTooltip()
Returns the button's tooltip.
Returns the programmatic value if setTooltip() has been called,
or tries to retrieve its value from the associated message catalog file
(<button_path>.Tooltip entry).
void setTooltip(String iTooltip)
Sets the button's tooltip.
Calling this method sets programmatically the tooltip. This should
be reserved for cases where the tooltip can only be determined by dynamic
means.
The standard way of defining components messages is using CATNls catalog
files (supports NLS).
iTooltip