Class Text


  • public class Text
    extends Component
    Author:
    jek
    • Field Detail

      • LOGGER

        protected static final com.saperion.common.logging.Logger LOGGER
        Logger.
    • Constructor Detail

      • Text

        public Text​(java.lang.Integer x,
                    java.lang.Integer y,
                    java.lang.String text,
                    java.lang.Integer fontHeight)
        Constructor create Text Component.
        Parameters:
        x - x
        y - y
        text - text
        fontHeight - fontHeight
      • Text

        public Text​(Node position,
                    java.lang.String text,
                    java.lang.Integer fontHeight)
        Instantiates a new text.
        Parameters:
        position - the position
        text - the text
        fontHeight - the font height
    • Method Detail

      • renderComponent

        public java.lang.String renderComponent()
        Overrides:
        renderComponent in class Component
        Returns:
        rendered component TEXT