Class PaintletWithFixedYRange

    • Field Detail

      • m_MinY

        protected double m_MinY
        the minimum of Y.
      • m_MaxY

        protected double m_MaxY
        the maximum of Y.
      • m_Actor

        protected Actor m_Actor
        the actor the paintlet belongs to.
    • Constructor Detail

      • PaintletWithFixedYRange

        public PaintletWithFixedYRange()
    • Method Detail

      • getDefaultPaintlet

        protected AbstractTimeseriesPaintlet getDefaultPaintlet()
        Returns the default paintlet to use.
        Returns:
        the default paintlet
      • setMinY

        public void setMinY​(double value)
        Sets the minimum of the Y range.
        Parameters:
        value - the minimum
      • getMinY

        public double getMinY()
        Returns the minimum of the Y range.
        Returns:
        the minimum
      • minYTipText

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

        public void setMaxY​(double value)
        Sets the maximum of the Y range.
        Parameters:
        value - the maximum
      • getMaxY

        public double getMaxY()
        Returns the maximum of the Y range.
        Returns:
        the maximum
      • maxYTipText

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

        public void setPaintlet​(AbstractTimeseriesPaintlet value)
        Sets the actual paintlet to use.
        Parameters:
        value - the paintlet
      • paintletTipText

        public String paintletTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • 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