Class Text

java.lang.Object
com.groiss.gui.AbstractComponent
com.groiss.gui.component.Text
All Implemented Interfaces:
Component, Serializable, Cloneable

public class Text extends AbstractComponent
A HTML span element.
See Also:
  • Constructor Details

    • Text

      public Text()
      Constructs a new empty text component
    • Text

      public Text(String text)
      Constructs a new empty text component
    • Text

      public Text(String id, String text)
      Constructor with id and containing text
      Parameters:
      text - - the text of the paragraph
    • Text

      public Text(String id, String text, String styleClass)
      Constructor with id and containing text
      Parameters:
      text - - the text of the paragraph
      styleClass - the name of a CSS class
  • Method Details