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 Details

    • addActionListener

      void addActionListener(ActionListener listener)
      Adds an ActionListener to the control
      Parameters:
      listener -
    • removeActionListener

      void removeActionListener(ActionListener listener)
      Removes an ActionListener from the control
      Parameters:
      listener -
    • setValue

      Object setValue(Object value)
      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

      void setName(String name)
      Sets the name of the control, used to identify it
      Parameters:
      name -