|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.text.JTextComponent javax.swing.JTextField javax.swing.JFormattedTextField org.softsmithy.lib.swing.AbstractNumberField org.softsmithy.lib.swing.JRealNumberField org.softsmithy.lib.swing.JLocalizedRealNumberField org.softsmithy.lib.swing.JLocalizedFloatField
public class JLocalizedFloatField
A localized float field.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JFormattedTextField |
---|
JFormattedTextField.AbstractFormatter, JFormattedTextField.AbstractFormatterFactory |
Nested classes/interfaces inherited from class javax.swing.JTextField |
---|
JTextField.AccessibleJTextField |
Nested classes/interfaces inherited from class javax.swing.text.JTextComponent |
---|
JTextComponent.AccessibleJTextComponent, JTextComponent.DropLocation, JTextComponent.KeyBinding |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class javax.swing.JFormattedTextField |
---|
COMMIT, COMMIT_OR_REVERT, PERSIST, REVERT |
Fields inherited from class javax.swing.JTextField |
---|
notifyAction |
Fields inherited from class javax.swing.text.JTextComponent |
---|
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
JLocalizedFloatField()
Creates a new instance of this class. |
|
JLocalizedFloatField(float value)
Creates a new instance of this class. |
|
JLocalizedFloatField(float minValue,
float maxValue)
Creates a new instance of this class. |
|
JLocalizedFloatField(float value,
float minValue,
float maxValue)
Creates a new instance of this class. |
|
JLocalizedFloatField(float value,
float minValue,
float maxValue,
Locale locale)
Creates a new instance of this class. |
|
JLocalizedFloatField(float minValue,
float maxValue,
Locale locale)
Creates a new instance of this class. |
|
JLocalizedFloatField(float value,
Locale locale)
Creates a new instance of this class. |
|
JLocalizedFloatField(Locale locale)
Creates a new instance of this class. |
Method Summary | |
---|---|
float |
getFloatValue()
Gets the value. |
LocalizedFloatFormatter |
getLocalizedFloatFormatter()
Gets the number formatter. |
LocalizedFloatFormatterFactory |
getLocalizedFloatFormatterFactory()
Gets the number formatter factory. |
float |
getMaximumFloatValue()
Gets the maximum value. |
float |
getMinimumFloatValue()
Gets the minimum value. |
void |
setFloatValue(float i)
Sets the value. |
protected void |
setFormatter(JFormattedTextField.AbstractFormatter formatter)
Sets the formatter. |
void |
setFormatterFactory(JFormattedTextField.AbstractFormatterFactory aff)
Sets the formatter factory. |
void |
setLocalizedFloatFormatterFactory(LocalizedFloatFormatterFactory factory)
Sets the number formatter factory. |
void |
setMaximumFloatValue(float maxFloatValue)
Sets the maximum value. |
void |
setMinimumFloatValue(float minFloatValue)
Sets the minimum value. |
Methods inherited from class org.softsmithy.lib.swing.JLocalizedRealNumberField |
---|
getLocalizedRealNumberFormatter, getLocalizedRealNumberFormatterFactory, reinit, setLocalizedRealNumberFormatterFactory |
Methods inherited from class org.softsmithy.lib.swing.JRealNumberField |
---|
getBigDecimalValue, getMaximumBigDecimalValue, getMinimumBigDecimalValue, getRealNumberFormatter, getRealNumberFormatterFactory, setBigDecimalValue, setMaximumBigDecimalValue, setMaximumNumberValue, setMinimumBigDecimalValue, setMinimumNumberValue, setRealNumberFormatterFactory, setValue |
Methods inherited from class org.softsmithy.lib.swing.AbstractNumberField |
---|
getAbstractXNumberFormatter, getAbstractXNumberFormatterFactory, getMaximumNumberValue, getMinimumNumberValue, getNumberValue, setAbstractXNumberFormatterFactory, setLocale, setNumberValue |
Methods inherited from class javax.swing.JFormattedTextField |
---|
commitEdit, getActions, getFocusLostBehavior, getFormatter, getFormatterFactory, getUIClassID, getValue, invalidEdit, isEditValid, processFocusEvent, processInputMethodEvent, setDocument, setFocusLostBehavior |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JLocalizedFloatField()
public JLocalizedFloatField(Locale locale)
locale
- the localepublic JLocalizedFloatField(float value)
value
- the valuepublic JLocalizedFloatField(float value, Locale locale)
value
- the valuelocale
- the localepublic JLocalizedFloatField(float minValue, float maxValue)
minValue
- the minimum valuemaxValue
- the maximum valuepublic JLocalizedFloatField(float minValue, float maxValue, Locale locale)
minValue
- the minimum valuemaxValue
- the maximum valuelocale
- the localepublic JLocalizedFloatField(float value, float minValue, float maxValue)
value
- the valueminValue
- the minimum valuemaxValue
- the maximum valuepublic JLocalizedFloatField(float value, float minValue, float maxValue, Locale locale)
value
- the valueminValue
- the minimum valuemaxValue
- the maximum valuelocale
- the localeMethod Detail |
---|
public float getFloatValue()
public void setFloatValue(float i)
i
- the valuepublic float getMinimumFloatValue()
public void setMinimumFloatValue(float minFloatValue)
minFloatValue
- the minimum valuepublic float getMaximumFloatValue()
public void setMaximumFloatValue(float maxFloatValue)
maxFloatValue
- the maximum valueprotected void setFormatter(JFormattedTextField.AbstractFormatter formatter)
setFormatter
in class JLocalizedRealNumberField
formatter
- the number formatterpublic LocalizedFloatFormatter getLocalizedFloatFormatter()
public LocalizedFloatFormatterFactory getLocalizedFloatFormatterFactory()
public void setLocalizedFloatFormatterFactory(LocalizedFloatFormatterFactory factory)
factory
- the number formatter factorypublic void setFormatterFactory(JFormattedTextField.AbstractFormatterFactory aff)
setFormatterFactory
in class JLocalizedRealNumberField
aff
- the number formatter factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |