|
|
|||||
| Package com.dassault_systemes.catweb.base.awt |
Interface CATButtonIF
|
| Class Hierarchy |
com.dassault_systemes.catweb.base.awt.CATButtonIF
| Class Location |
| Class Description |
public interface CATButtonIF
| Field Summary |
| Constructor Summary |
| Method Summary |
| public void | addActionListener(ActionListener l)
Adds the specified action listener to receive action events from this button. |
| public String | getActionCommand()
Returns the command name of the action event fired by this button. |
| public Component | getGUI()
|
| public String | getLabel()
Returns the button label. |
| public boolean | isEnabled()
Determines whether this component is enabled. |
| public void | removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer receives action events from this button. |
| public void | setActionCommand(String command)
Sets the command name for the action event fired by this button. |
| public void | setEnabled(boolean enabled)
Enables or disables this component, depending on the value of the parameter b. |
| public void | setLabel(String label)
Sets the button label to be the specified string. |
| public void | setName(String str)
|
| Field Detail |
| Constructor Detail |
| Method Detail |
public void addActionListener(ActionListener l)
Adds the specified action listener to receive action events from
this button. Action events occur when a user presses or releases
the mouse over this button.
l
public String getActionCommand()
Returns the command name of the action event fired by this button.
public Component getGUI()
public String getLabel()
Returns the button label.
public boolean isEnabled()
Determines whether this component is enabled. An enabled component
can respond to user input and generate events. Components are
enabled initially by default. A component may be enabled or disabled by
calling its setEnabled method.
true if the component is enabled;
false otherwise.
public void removeActionListener(ActionListener l)
Removes the specified action listener so that it no longer
receives action events from this button. Action events occur
when a user presses or releases the mouse over this button.
l
public void setActionCommand(String command)
Sets the command name for the action event fired
by this button. By default this action command is
set to match the label of the button.
command
public void setEnabled(boolean enabled)
Enables or disables this component, depending on the value of the
parameter b. An enabled component can respond to user
input and generate events. Components are enabled initially by default.
btrue, this component is
enabled; otherwise this component is disabled.
public void setLabel(String label)
Sets the button label to be the specified string.
labelnull
if the button has no label.
public void setName(String str)