Class TextOverlayPaintlet

    • Field Detail

      • m_Actor

        protected Actor m_Actor
        the actor that this paintlet belongs to.
      • m_Text

        protected String m_Text
        the text to paint.
      • m_TextVariable

        protected VariableName m_TextVariable
        the variable with the text to paint.
      • m_X

        protected int m_X
        the X position.
      • m_Y

        protected int m_Y
        the Y position.
      • m_Color

        protected Color m_Color
        the color for the text.
    • Constructor Detail

      • TextOverlayPaintlet

        public TextOverlayPaintlet()
    • Method Detail

      • setActor

        public void setActor​(Actor actor)
        Sets the owning actor.
        Specified by:
        setActor in interface FlowAwarePaintlet
        Parameters:
        actor - the actor this paintlet belongs to
      • getActor

        public Actor getActor()
        Returns the owning actor.
        Specified by:
        getActor in interface FlowAwarePaintlet
        Returns:
        the actor this paintlet belongs to, null if none set
      • setText

        public void setText​(String value)
        Sets the text to paint.
        Parameters:
        value - the text
      • getText

        public String getText()
        Returns the text to paint.
        Returns:
        the text
      • textTipText

        public String textTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setTextVariable

        public void setTextVariable​(VariableName value)
        Sets the variable containing the text to paint.
        Parameters:
        value - the variable
      • getTextVariable

        public VariableName getTextVariable()
        Returns the variable containing the text to paint.
        Returns:
        the variable
      • textVariableTipText

        public String textVariableTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setX

        public void setX​(int value)
        Sets the X position in pixels.
        Parameters:
        value - the position
      • getX

        public int getX()
        Returns the X position in pixels.
        Returns:
        the position
      • XTipText

        public String XTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setY

        public void setY​(int value)
        Sets the Y position in pixels.
        Parameters:
        value - the position
      • getY

        public int getY()
        Returns the Y position in pixels.
        Returns:
        the position
      • YTipText

        public String YTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setColor

        public void setColor​(Color value)
        Set the stroke color for the text.
        Parameters:
        value - color of the text
      • getColor

        public Color getColor()
        Get the stroke color for the text.
        Returns:
        color of the text
      • colorTipText

        public String colorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.