Class JProgressBarShape

All Implemented Interfaces:
Archivable, DeepChangeListener, RMPropertyChanger, RMTypes, PropertyChangeListener, Cloneable, EventListener

public class JProgressBarShape extends JComponentShape
An RMShape subclass for JProgressBar.
  • Constructor Details

    • JProgressBarShape

      public JProgressBarShape()
  • Method Details

    • getMinimum

      public double getMinimum()
      Returns the minimum value of progress bar.
    • setMinimum

      public void setMinimum(double aValue)
      Sets the minimum value of the progress bar.
    • getMaximum

      public double getMaximum()
      Returns the maximum value of progress bar.
    • setMaximum

      public void setMaximum(double aValue)
      Sets the maximum value of the progress bar.
    • getValue

      public double getValue()
      Returns the value of progress bar.
    • setValue

      public void setValue(double aValue)
      Sets the value of the progress bar.
    • isIndeterminate

      public boolean isIndeterminate()
      Returns whether progress bar is indeterminate.
    • getIndeterminate

      public Boolean getIndeterminate()
      Returns whether progress bar is indetermiante.
    • setIndeterminate

      public void setIndeterminate(Boolean aValue)
      Sets whether progress bar is indetermiante.
    • getOrientation

      public int getOrientation()
      Returns the orientation of this progress bar.
    • setOrientation

      public void setOrientation(int aValue)
      Sets the orientation of this progress bar.
    • getComponentClass

      public Class<? extends JComponent> getComponentClass()
      Creates the component for this component shape.
      Overrides:
      getComponentClass in class JComponentShape
    • configureComponent

      protected void configureComponent(JBuilder aBldr, JComponent aComp)
      Configure component.
      Overrides:
      configureComponent in class JComponentShape
    • toXMLShape

      public RXElement toXMLShape(RXArchiver anArchiver)
      XML archival.
      Overrides:
      toXMLShape in class JComponentShape
    • fromXMLShape

      public void fromXMLShape(RXArchiver anArchiver, RXElement anElement)
      XML unarchival.
      Overrides:
      fromXMLShape in class JComponentShape
    • toXMLChildren

      public void toXMLChildren(RXArchiver anArchiver, RXElement anElement)
      Override to suppress.
      Overrides:
      toXMLChildren in class JComponentShape
    • fromXMLChildren

      public void fromXMLChildren(RXArchiver anArchiver, RXElement anElement)
      Override to suppress.
      Overrides:
      fromXMLChildren in class RMParentShape