public class JFormattedTextFieldHpr extends JTextComponentHpr
| Constructor and Description |
|---|
JFormattedTextFieldHpr() |
| Modifier and Type | Method and Description |
|---|---|
void |
focusLost(javax.swing.JComponent aComponent,
java.awt.event.FocusEvent fe)
Implemented to make sure formatter validates the data whenever the
focus is lost (temporarily or permanently).
|
float |
getFloatValue(javax.swing.JComponent aComponent)
Returns the component's value as a float.
|
int |
getIntValue(javax.swing.JComponent aComponent)
Returns the component's value as an int.
|
java.lang.Number |
getNumberValue(javax.swing.JComponent aComponent)
Returns the component's value as an Number.
|
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,
java.lang.Object aValue)
Sets the given text component to the given value.
|
RXElement |
toXML(javax.swing.JComponent aComponent,
RXArchiver anArchiver)
XML archival
|
fromXML, getSendActionOnDropString, getSendActionOnReturn, getStringValue, setSendActionOnDropString, setSendActionOnReturn, setValue, setValue, setValueadd, focusGained, 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, setSendActionOnFocusLost, setSubstitutionClassString, setValue, setValue, setValue, takeFloatValue, takeIntValue, testOutBeanBag, toXMLDeeppublic java.lang.Object newInstance(RXElement anElement)
newInstance in class JTextComponentHprpublic void initInstance(javax.swing.JComponent aComponent)
initInstance in class JTextComponentHprpublic java.lang.Object getValue(javax.swing.JComponent aComponent)
public void setValue(javax.swing.JComponent aComponent,
java.lang.Object aValue)
JTextComponentHprsetValue in class JTextComponentHprpublic java.lang.Number getNumberValue(javax.swing.JComponent aComponent)
public int getIntValue(javax.swing.JComponent aComponent)
getIntValue in class JTextComponentHprpublic float getFloatValue(javax.swing.JComponent aComponent)
getFloatValue in class JTextComponentHprpublic void focusLost(javax.swing.JComponent aComponent,
java.awt.event.FocusEvent fe)
public RXElement toXML(javax.swing.JComponent aComponent, RXArchiver anArchiver)
toXML in class JTextComponentHpr