JSCAPE MFT Server

com.jscape.util.reflection.types
Class IntegerField

java.lang.Object
  extended by com.jscape.util.reflection.types.IntegerField
All Implemented Interfaces:
FieldType

public class IntegerField
extends java.lang.Object
implements FieldType

Integer field spinner component.


Constructor Summary
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.
 
Method Summary
 int getDefaultValue()
          Gets default value.
 int getMaxValue()
          Gets maximum value.
 int getMinValue()
          Gets minimum value.
 int getStepValue()
          Gets step up/down value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerField

public IntegerField()
Creates new instance.


IntegerField

public IntegerField(int defaultValue)
Creates new instance with default value.

Parameters:
defaultValue - the default value

IntegerField

public IntegerField(int defaultValue,
                    int minValue,
                    int maxValue,
                    int stepValue)
Creates new instance with default, minimum and maximum values.

Parameters:
defaultValue - the default value
minValue - the minimum value
maxValue - the maximum value
stepValue - the spinner step up/down value
Method Detail

getDefaultValue

public int getDefaultValue()
Gets default value.

Returns:

getMinValue

public int getMinValue()
Gets minimum value.

Returns:

getMaxValue

public int getMaxValue()
Gets maximum value.

Returns:

getStepValue

public int getStepValue()
Gets step up/down value.

Returns:

JSCAPE MFT Server

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved