Package com.ribs.helpers
Class JProgressBarHpr
- java.lang.Object
-
- com.ribs.RJHelper
-
- com.ribs.helpers.JProgressBarHpr
-
public class JProgressBarHpr extends RJHelper
-
-
Constructor Summary
Constructors Constructor Description JProgressBarHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)
XML unarchival.float
getFloatValue(javax.swing.JComponent aComponent)
Returns the float value of the progress bar.int
getIntValue(javax.swing.JComponent aComponent)
Returns the int value of the progress bar.java.lang.Object
newInstance(RXElement anElement)
Creates a new instance of class for given element.void
setValue(javax.swing.JComponent aComponent, float aValue)
Sets the float value of the progress bar.void
setValue(javax.swing.JComponent aComponent, int aValue)
Sets the int value of the progress bar.RXElement
toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
XML archival.-
Methods inherited from class com.ribs.RJHelper
add, focusGained, focusLost, fromXMLDeep, get, getActionListener, getAutoscrolls, getAutosizing, getBackground, getBindKey, getBooleanValue, getBoolValue, getCallback, getChangeListener, getColorValue, getComponent, getComponentCount, getFocusListener, getForeground, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getStringValue, getSubstitutionClassString, getValue, initInstance, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
-
-
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(RXElement anElement)
Creates a new instance of class for given element.- Overrides:
newInstance
in classRJHelper
-
getIntValue
public int getIntValue(javax.swing.JComponent aComponent)
Returns the int value of the progress bar.- Overrides:
getIntValue
in classRJHelper
-
setValue
public void setValue(javax.swing.JComponent aComponent, int aValue)
Sets the int value of the progress bar.
-
getFloatValue
public float getFloatValue(javax.swing.JComponent aComponent)
Returns the float value of the progress bar.- Overrides:
getFloatValue
in classRJHelper
-
setValue
public void setValue(javax.swing.JComponent aComponent, float aValue)
Sets the float value of the progress bar.
-
toXML
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
XML archival.
-
fromXML
public void fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)
XML unarchival.
-
-