Class Label

All Implemented Interfaces:
Component, Container, Serializable, Cloneable

public class Label extends AbstractContainer
A HTML label.
See Also:
  • Field Details

    • labelFor

      protected Component labelFor
      the reference to the component, where this component is the label for
  • Constructor Details

    • Label

      public Label()
      Constructs a new label.
    • Label

      public Label(String id)
      Constructs a new label with id.
      Parameters:
      id - the unique id of the container
    • Label

      public Label(String id, String styleClass)
      Constructs a new label with id.
      Parameters:
      id - the unique id of the container
      styleClass - the name of a CSS class
    • Label

      public Label(String id, String value, String styleClass)
      Constructs a new label with id.
      Parameters:
      id - the unique id of the container
      styleClass - the name of a CSS class
  • Method Details