Class ProgressAnnotation

    • Field Detail

      • value

        protected double value
      • min

        protected double min
      • max

        protected double max
      • outlineColor

        protected java.awt.Color outlineColor
      • interiorColor

        protected java.awt.Color interiorColor
      • interiorInsets

        protected java.awt.Insets interiorInsets
    • Constructor Detail

      • ProgressAnnotation

        public ProgressAnnotation​(double value,
                                  double min,
                                  double max)
      • ProgressAnnotation

        public ProgressAnnotation()
    • Method Detail

      • getValue

        public double getValue()
      • setValue

        public void setValue​(double value)
      • getMin

        public double getMin()
      • setMin

        public void setMin​(double min)
      • getMax

        public double getMax()
      • setMax

        public void setMax​(double max)
      • getOutlineColor

        public java.awt.Color getOutlineColor()
      • setOutlineColor

        public void setOutlineColor​(java.awt.Color color)
      • getInteriorColor

        public java.awt.Color getInteriorColor()
      • setInteriorColor

        public void setInteriorColor​(java.awt.Color color)
      • getInteriorInsets

        public java.awt.Insets getInteriorInsets()
      • setInteriorInsets

        public void setInteriorInsets​(java.awt.Insets insets)
      • doDraw

        protected void doDraw​(DrawContext dc,
                              int width,
                              int height,
                              double opacity,
                              Position pickPosition)
        Description copied from class: AbstractAnnotation
        Draws an annotation with the given dimensions and opacity. Current GL state has ortho identity model view active with origin at the screen point.
        Overrides:
        doDraw in class AbstractAnnotation
        Parameters:
        dc - current DrawContext.
        width - annotation callout width
        height - annotation callout height
        opacity - opacity to apply
        pickPosition - Position that will be associated with any PickedObject produced during picking.
      • drawProgress

        protected void drawProgress​(DrawContext dc,
                                    int width,
                                    int height,
                                    double opacity,
                                    Position pickPosition)
      • drawProgressContainer

        protected void drawProgressContainer​(DrawContext dc,
                                             int width,
                                             int height,
                                             double opacity,
                                             Position pickPosition)
      • drawProgressBar

        protected void drawProgressBar​(DrawContext dc,
                                       int width,
                                       int height,
                                       double opacity,
                                       Position pickPosition)
      • drawCallout

        protected void drawCallout​(DrawContext dc,
                                   int mode,
                                   java.awt.Rectangle bounds,
                                   boolean useTexCoords)
      • computeProgressContainerBounds

        protected java.awt.Rectangle computeProgressContainerBounds​(int width,
                                                                    int height)
      • computeProgressBarBounds

        protected java.awt.Rectangle computeProgressBarBounds​(int width,
                                                              int height)
      • computeProgressBarWidth

        protected int computeProgressBarWidth​(int containerWidth)