All Implemented Interfaces:
HasAlign<Label>, HasBorder<Label>, HasShadow<Label>, HasText<Label>, HasPadding<Label>, Serializable

public class Label extends AbstractEnhancedLabel<Label>
A text label to explain some information about a graphic element, such as value, name etc. More detailed information is provided in the documentation.
See Also:
  • Field Details

  • Constructor Details

    • Label

      public Label()
  • Method Details

    • getPosition

      public Label.Position getPosition()
    • setPosition

      public void setPosition(Label.Position.PositionType positionType)
    • setPosition

      public void setPosition(String horizontalPosition, String verticalPosition)
    • getFormatter

      public String getFormatter()
    • setFormatter

      public void setFormatter(String formatter)
    • getFormatterFunction

      public JsFunction getFormatterFunction()
    • setFormatterFunction

      public void setFormatterFunction(JsFunction formatterFunction)
    • setFormatterFunction

      public void setFormatterFunction(String formatterFunction)
    • withPosition

      public Label withPosition(Label.Position.PositionType positionType)
    • withPosition

      public Label withPosition(String horizontalPosition, String verticalPosition)
    • withFormatter

      public Label withFormatter(String formatter)
    • withFormatterFunction

      public Label withFormatterFunction(JsFunction formatterFunction)
    • withFormatterFunction

      public Label withFormatterFunction(String formatterFunction)