gui
Interface JAPJIntField.IIntFieldBounds

All Known Implementing Classes:
JAPJIntField.AbstractIntFieldBounds, JAPJIntField.DefaultBounds, JAPJIntField.IntFieldUnlimitedZerosBounds, JAPJIntField.IntFieldWithoutZeroBounds
Enclosing class:
JAPJIntField

public static interface JAPJIntField.IIntFieldBounds

This interface represents bounds for the integer text field, this means what numbers (max/min) are allowed to enter.


Method Summary
 int getAllowZeros()
          Returns the number of allowed left-hand zeros as one of the following constants: ALLOW_ZEROS_NONE ALLOW_ZEROS_ONE ALLOW_ZEROS_UNTIL_BOUND
 int getMaximum()
          Returns the maximum value that is allowed to enter.
 

Method Detail

getAllowZeros

int getAllowZeros()
Returns the number of allowed left-hand zeros as one of the following constants:

Returns:
the number of allowed left-hand zeros as a constant

getMaximum

int getMaximum()
Returns the maximum value that is allowed to enter.

Returns:
the maximum value that is allowed to enter or a value smaller than zero if there is no upper bound