Package com.ribs.plus
Class RJSwitchPaneHpr
- java.lang.Object
-
- com.ribs.RJHelper
-
- com.ribs.plus.RJSwitchPaneHpr
-
public class RJSwitchPaneHpr extends RJHelper
-
-
Constructor Summary
Constructors Constructor Description RJSwitchPaneHpr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfromXML(javax.swing.JComponent aComponent, RXArchiver anArchiver, RXElement anElement)XML unarchiver.javax.swing.JComponentgetComponent(javax.swing.JComponent aComponent, int anIndex)Returns the Ribs-relevant child component at the given index.intgetComponentCount(javax.swing.JComponent aComponent)Returns the Ribs-relevant child component count.intgetIntValue(javax.swing.JComponent aComponent)Returns the switch pane's selected index.java.lang.StringgetStringValue(javax.swing.JComponent aComponent)Returns the switch pane's current pane's name.java.lang.ObjectgetValue(javax.swing.JComponent aComponent)Returns the switch pane's current pane.java.lang.ObjectnewInstance(RXElement anElement)Creates a new instance of class for given element.voidsetValue(javax.swing.JComponent aComponent, int aValue)Sets the switch pane's selected index.RXElementtoXML(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, 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
-
-
-
-
Method Detail
-
newInstance
public java.lang.Object newInstance(RXElement anElement)
Creates a new instance of class for given element.- Overrides:
newInstancein classRJHelper
-
getComponentCount
public int getComponentCount(javax.swing.JComponent aComponent)
Returns the Ribs-relevant child component count.- Overrides:
getComponentCountin classRJHelper
-
getComponent
public javax.swing.JComponent getComponent(javax.swing.JComponent aComponent, int anIndex)Returns the Ribs-relevant child component at the given index.- Overrides:
getComponentin classRJHelper
-
getValue
public java.lang.Object getValue(javax.swing.JComponent aComponent)
Returns the switch pane's current pane.
-
getStringValue
public java.lang.String getStringValue(javax.swing.JComponent aComponent)
Returns the switch pane's current pane's name.- Overrides:
getStringValuein classRJHelper
-
getIntValue
public int getIntValue(javax.swing.JComponent aComponent)
Returns the switch pane's selected index.- Overrides:
getIntValuein classRJHelper
-
setValue
public void setValue(javax.swing.JComponent aComponent, int aValue)Sets the switch pane's selected index.
-
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 unarchiver.
-
-