public class RJSwitchPaneHpr extends RJHelper
Constructor and Description |
---|
RJSwitchPaneHpr() |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(javax.swing.JComponent aComponent,
RXArchiver anArchiver,
RXElement anElement)
XML unarchiver.
|
javax.swing.JComponent |
getComponent(javax.swing.JComponent aComponent,
int anIndex)
Returns the Ribs-relevant child component at the given index.
|
int |
getComponentCount(javax.swing.JComponent aComponent)
Returns the Ribs-relevant child component count.
|
int |
getIntValue(javax.swing.JComponent aComponent)
Returns the switch pane's selected index.
|
java.lang.String |
getStringValue(javax.swing.JComponent aComponent)
Returns the switch pane's current pane's name.
|
java.lang.Object |
getValue(javax.swing.JComponent aComponent)
Returns the switch pane's current pane.
|
java.lang.Object |
newInstance(RXElement anElement)
Creates a new instance of class for given element.
|
void |
setValue(javax.swing.JComponent aComponent,
int aValue)
Sets the switch pane's selected index.
|
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, getFloatValue, getFocusListener, getForeground, getMaster, getMaximumSize, getMinimumSize, getOwner, getRibHeight, getRibWidth, getRibX, getRibY, getSendActionOnFocusLost, getSubstitutionClassString, initInstance, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeep
public java.lang.Object newInstance(RXElement anElement)
newInstance
in class RJHelper
public int getComponentCount(javax.swing.JComponent aComponent)
getComponentCount
in class RJHelper
public javax.swing.JComponent getComponent(javax.swing.JComponent aComponent, int anIndex)
getComponent
in class RJHelper
public java.lang.Object getValue(javax.swing.JComponent aComponent)
public java.lang.String getStringValue(javax.swing.JComponent aComponent)
getStringValue
in class RJHelper
public int getIntValue(javax.swing.JComponent aComponent)
getIntValue
in class RJHelper
public void setValue(javax.swing.JComponent aComponent, int aValue)
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
public void fromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)