Class TerraActivityIndicatorSkin

    • Constructor Detail

      • TerraActivityIndicatorSkin

        public TerraActivityIndicatorSkin()
    • Method Detail

      • getPreferredWidth

        public int getPreferredWidth​(int height)
        Description copied from interface: ConstrainedVisual
        Returns the visual's preferred width given the provided height constraint.
        Parameters:
        height - The height by which to constrain the preferred width, or -1 for no constraint.
        Returns:
        The preferred width given the height constraint.
      • getPreferredHeight

        public int getPreferredHeight​(int width)
        Description copied from interface: ConstrainedVisual
        Returns the visual's preferred height given the provided width constraint.
        Parameters:
        width - The width by which to constrain the preferred height, or -1 for no constraint.
        Returns:
        The preferred height given the width constraint.
      • paint

        public void paint​(java.awt.Graphics2D graphics)
        Description copied from interface: Visual
        Paints the visual.
        Parameters:
        graphics - The graphics context in which to paint the visual.
      • getColor

        public java.awt.Color getColor()
      • setColor

        public void setColor​(java.awt.Color color)
      • setColor

        public final void setColor​(java.lang.String color)
      • setColor

        public final void setColor​(int color)
      • getBackgroundColor

        public java.awt.Color getBackgroundColor()
      • setBackgroundColor

        public void setBackgroundColor​(java.awt.Color backgroundColor)
      • setBackgroundColor

        public void setBackgroundColor​(java.lang.String backgroundColor)
      • setBackgroundColor

        public final void setBackgroundColor​(int backgroundColor)
      • activeChanged

        public void activeChanged​(ActivityIndicator activityIndicator)
        Description copied from interface: ActivityIndicatorListener
        Called when an activity indicator's active state has changed.
        Parameters:
        activityIndicator - Component whose state has changed.