Package org.gvsig.gui.beans.controls
Interface IControl
- All Known Implementing Classes:
ComboButton,ComboScale,Label
public interface IControl
This interface models a control to be used in Andami.
- Author:
- Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionListener(ActionListener listener) Adds an ActionListener to the controlgetName()Gets the name of the control, used to identify itgetValue()voidremoveActionListener(ActionListener listener) Removes an ActionListener from the controlvoidSets the name of the control, used to identify itSets the value of the control.
-
Method Details
-
addActionListener
Adds an ActionListener to the control- Parameters:
listener-
-
removeActionListener
Removes an ActionListener from the control- Parameters:
listener-
-
setValue
Sets the value of the control. It may mean different things for different kinds of controls.- Returns:
- The value which was set, or null if the value was not valid for this control
-
getValue
Object getValue() -
getName
String getName()Gets the name of the control, used to identify it- Returns:
- the name of the control
-
setName
Sets the name of the control, used to identify it- Parameters:
name-
-