public class IntegerField extends FieldType
| Modifier and Type | Field and Description |
|---|---|
int |
defaultValue |
int |
maxValue |
int |
minValue |
int |
stepValue |
| Constructor and Description |
|---|
IntegerField()
Creates new instance.
|
IntegerField(int defaultValue)
Creates new instance with default value.
|
IntegerField(int defaultValue,
int minValue,
int maxValue,
int stepValue)
Creates new instance with default, minimum and maximum values.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultValue()
Returns field default value.
|
int |
getMaxValue()
Returns field maximum value.
|
int |
getMinValue()
Returns field minimum value.
|
int |
getStepValue()
Returns spinner step up/down value.
|
java.lang.String |
toString() |
public final int defaultValue
public final int minValue
public final int maxValue
public final int stepValue
public IntegerField(int defaultValue,
int minValue,
int maxValue,
int stepValue)
defaultValue - the default valueminValue - the minimum valuemaxValue - the maximum valuestepValue - the spinner step up/down valuepublic IntegerField(int defaultValue)
defaultValue - the default valuepublic IntegerField()
public int getDefaultValue()
public int getMinValue()
public int getMaxValue()
public int getStepValue()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.