public interface IControl
Modifier and Type | Method and Description |
---|---|
void |
addActionListener(ActionListener listener)
Adds an ActionListener to the control
|
String |
getName()
Gets the name of the control, used to identify it
|
Object |
getValue() |
void |
removeActionListener(ActionListener listener)
Removes an ActionListener from the control
|
void |
setName(String name)
Sets the name of the control, used to identify it
|
Object |
setValue(Object value)
Sets the value of the control.
|
void addActionListener(ActionListener listener)
listener
- void removeActionListener(ActionListener listener)
listener
- Object setValue(Object value)
Object getValue()
String getName()
void setName(String name)
name
-