Class Label

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, IControl

public class Label extends JLabel implements IControl
Author:
Cesar Martinez Izquierdo invalid input: '<'cesar.martinez@iver.es>
See Also:
  • Constructor Details

    • Label

      public Label()
  • Method Details

    • addActionListener

      public void addActionListener(ActionListener listener)
      Description copied from interface: IControl
      Adds an ActionListener to the control
      Specified by:
      addActionListener in interface IControl
      Parameters:
      listener -
    • removeActionListener

      public void removeActionListener(ActionListener listener)
      Description copied from interface: IControl
      Removes an ActionListener from the control
      Specified by:
      removeActionListener in interface IControl
      Parameters:
      listener -
    • setValue

      public Object setValue(Object value)
      Description copied from interface: IControl
      Sets the value of the control. It may mean different things for different kinds of controls.
      Specified by:
      setValue in interface IControl
      Returns:
      The value which was set, or null if the value was not valid for this control
    • getValue

      public Object getValue()
      Specified by:
      getValue in interface IControl