|
||||||||||
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.JWholeNumberField org.softsmithy.lib.swing.JByteField
public class JByteField
A byte 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 | |
---|---|
JByteField()
Creates a new instance of this class. |
|
JByteField(byte value)
Creates a new instance of this class. |
|
JByteField(byte minValue,
byte maxValue)
Creates a new instance of this class. |
|
JByteField(byte value,
byte minValue,
byte maxValue)
Creates a new instance of this class. |
|
JByteField(byte value,
byte minValue,
byte maxValue,
Locale locale)
Creates a new instance of this class. |
|
JByteField(byte minValue,
byte maxValue,
Locale locale)
Creates a new instance of this class. |
|
JByteField(byte value,
Locale locale)
Creates a new instance of this class. |
|
JByteField(Locale locale)
Creates a new instance of this class. |
Method Summary | |
---|---|
ByteFormatter |
getByteFormatter()
Gets the number formatter. |
ByteFormatterFactory |
getByteFormatterFactory()
Gets the number formatter factory. |
byte |
getByteValue()
Gets the value. |
byte |
getMaximumByteValue()
Gets the maximum value. |
byte |
getMinimumByteValue()
Gets the minimum value. |
void |
setByteFormatterFactory(ByteFormatterFactory factory)
Sets the number formatter factory. |
void |
setByteValue(byte i)
Sets the value. |
protected void |
setFormatter(JFormattedTextField.AbstractFormatter formatter)
Sets the formatter. |
void |
setFormatterFactory(JFormattedTextField.AbstractFormatterFactory aff)
Sets the formatter factory. |
void |
setMaximumByteValue(byte maxByteValue)
Sets the maximum value. |
void |
setMinimumByteValue(byte minByteValue)
Sets the minimum value. |
Methods inherited from class org.softsmithy.lib.swing.JWholeNumberField |
---|
getBigIntegerValue, getMaximumBigIntegerValue, getMinimumBigIntegerValue, getWholeNumberFormatter, getWholeNumberFormatterFactory, reinit, setBigIntegerValue, setMaximumBigIntegerValue, setMaximumNumberValue, setMinimumBigIntegerValue, setMinimumNumberValue, setValue, setWholeNumberFormatterFactory |
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 JByteField()
public JByteField(Locale locale)
locale
- the localepublic JByteField(byte value)
value
- the valuepublic JByteField(byte value, Locale locale)
value
- the valuelocale
- the localepublic JByteField(byte minValue, byte maxValue)
minValue
- the minimum valuemaxValue
- the maximum valuepublic JByteField(byte minValue, byte maxValue, Locale locale)
minValue
- the minimum valuemaxValue
- the maximum valuelocale
- the localepublic JByteField(byte value, byte minValue, byte maxValue)
value
- the valueminValue
- the minimum valuemaxValue
- the maximum valuepublic JByteField(byte value, byte minValue, byte maxValue, Locale locale)
value
- the valueminValue
- the minimum valuemaxValue
- the maximum valuelocale
- the localeMethod Detail |
---|
public byte getByteValue()
public void setByteValue(byte i)
i
- the valuepublic byte getMinimumByteValue()
public void setMinimumByteValue(byte minByteValue)
minByteValue
- the minimum valuepublic byte getMaximumByteValue()
public void setMaximumByteValue(byte maxByteValue)
maxByteValue
- the maximum valueprotected void setFormatter(JFormattedTextField.AbstractFormatter formatter)
setFormatter
in class JWholeNumberField
formatter
- the number formatterpublic ByteFormatter getByteFormatter()
public ByteFormatterFactory getByteFormatterFactory()
public void setByteFormatterFactory(ByteFormatterFactory factory)
factory
- the number formatter factorypublic void setFormatterFactory(JFormattedTextField.AbstractFormatterFactory aff)
setFormatterFactory
in class JWholeNumberField
aff
- the number formatter factory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |