Package com.dassault_systemes.catweb.base.awt |
com.dassault_systemes.catweb.base.awt.CATButtonIF
Framework : PortalBase
Module : PLBbase
public interface CATButtonIF
getGUI
Component getGUI()
- See Also:
- java.awt.Component
getLabel
String getLabel()
Returns the button label.
setLabel
void setLabel(String label)
Sets the button label to be the specified string.
- Parameters:
label
- the new label, or
null
if the button has no label.
isEnabled
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.
- Returns:
true
if the component is enabled;
false
otherwise.
- See Also:
- #setEnabled
setEnabled
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.
- Parameters:
b
- If
true
, this component is
enabled; otherwise this component is disabled.
- See Also:
- #isEnabled
setActionCommand
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.
- Parameters:
command
- A string used to set the button's
action command.
getActionCommand
String getActionCommand()
Returns the command name of the action event fired by this button.
addActionListener
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.
- Parameters:
l
- the action listener.
- See Also:
- java.awt.event.ActionListener
removeActionListener
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.
- Parameters:
l
- the action listener.
- See Also:
- java.awt.event.ActionListener
setName
void setName(String str)
Copyright © 2000, Dassault Systèmes. All rights reserved