public class JSliderHpr extends RJHelper
Constructor and Description |
---|
JSliderHpr() |
Modifier and Type | Method and 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 slider.
|
int |
getIntValue(javax.swing.JComponent aComponent)
Returns the int value of the slider.
|
java.lang.Object |
getValue(javax.swing.JComponent aComponent)
Returns a component's value.
|
void |
initInstance(javax.swing.JComponent aComponent)
Initializes the given instance (actually called the first time an owner is set).
|
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 slider.
|
void |
setValue(javax.swing.JComponent aComponent,
int aValue)
Sets the int value of the slider.
|
void |
setValue(javax.swing.JComponent aComponent,
java.lang.Object anObj)
Sets a components value.
|
RXElement |
toXML(javax.swing.JComponent aComponent,
RXArchiver anArchiver)
XML archival.
|
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, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
public java.lang.Object newInstance(RXElement anElement)
newInstance
in class RJHelper
public void initInstance(javax.swing.JComponent aComponent)
initInstance
in class RJHelper
public java.lang.Object getValue(javax.swing.JComponent aComponent)
public void setValue(javax.swing.JComponent aComponent, java.lang.Object anObj)
public int getIntValue(javax.swing.JComponent aComponent)
getIntValue
in class RJHelper
public void setValue(javax.swing.JComponent aComponent, int aValue)
public float getFloatValue(javax.swing.JComponent aComponent)
getFloatValue
in class RJHelper
public void setValue(javax.swing.JComponent aComponent, float aValue)
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
public void fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)