public class JComboBoxHpr extends RJHelper
Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill
| Constructor and Description |
|---|
JComboBoxHpr() |
| 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 combo box's selected item as a float.
|
int |
getIntValue(javax.swing.JComponent aComponent)
Returns the combo box's selected index.
|
java.lang.String |
getStringValue(javax.swing.JComponent aComponent)
Returns the combo box's selected item as a string.
|
java.lang.Object |
getValue(javax.swing.JComponent aComponent)
Returns the combo box's selected item.
|
int |
indexOfItem(javax.swing.JComboBox aBox,
java.lang.Object anObj)
Convenience method.
|
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 |
setSendActionOnFocusLost(javax.swing.JComponent aComponent,
boolean aValue)
Overrides the version in RJHelper to try add a focus listener to the combobox's editor
|
void |
setValue(javax.swing.JComponent aComponent,
int aValue)
Sets the combo box's selected index.
|
void |
setValue(javax.swing.JComponent aComponent,
java.lang.Object aValue)
Sets the combo box's selected item.
|
void |
setValue(javax.swing.JComponent aComponent,
java.lang.String aValue)
Sets the combo box's selected item to the given string.
|
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, getSubstitutionClassString, isOpaque, performBindKeyGet, performBindKeySet, sendAction, setAutoscrolls, setAutosizing, setBackground, setBindKey, setCallback, setForeground, setMaster, setMaximumSize, setMinimumSize, setOpaque, setOwner, setSubstitutionClassString, setValue, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeeppublic java.lang.Object newInstance(RXElement anElement)
newInstance in class RJHelperpublic void initInstance(javax.swing.JComponent aComponent)
initInstance in class RJHelperpublic void setSendActionOnFocusLost(javax.swing.JComponent aComponent,
boolean aValue)
setSendActionOnFocusLost in class RJHelperpublic int indexOfItem(javax.swing.JComboBox aBox,
java.lang.Object anObj)
public java.lang.Object getValue(javax.swing.JComponent aComponent)
public java.lang.String getStringValue(javax.swing.JComponent aComponent)
getStringValue in class RJHelperpublic int getIntValue(javax.swing.JComponent aComponent)
getIntValue in class RJHelperpublic float getFloatValue(javax.swing.JComponent aComponent)
getFloatValue in class RJHelperpublic void setValue(javax.swing.JComponent aComponent,
java.lang.Object aValue)
public void setValue(javax.swing.JComponent aComponent,
java.lang.String aValue)
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)