gui
Class JAPJIntField.AbstractIntFieldBounds

java.lang.Object
  extended by gui.JAPJIntField.AbstractIntFieldBounds
All Implemented Interfaces:
JAPJIntField.IIntFieldBounds
Direct Known Subclasses:
JAPJIntField.DefaultBounds, JAPJIntField.IntFieldUnlimitedZerosBounds, JAPJIntField.IntFieldWithoutZeroBounds
Enclosing class:
JAPJIntField

public abstract static class JAPJIntField.AbstractIntFieldBounds
extends java.lang.Object
implements JAPJIntField.IIntFieldBounds


Field Summary
private  int m_maxValue
           
 
Constructor Summary
JAPJIntField.AbstractIntFieldBounds(int a_maxValue)
           
 
Method Summary
 int getMaximum()
          Returns the maximum value that is allowed to enter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gui.JAPJIntField.IIntFieldBounds
getAllowZeros
 

Field Detail

m_maxValue

private int m_maxValue
Constructor Detail

JAPJIntField.AbstractIntFieldBounds

public JAPJIntField.AbstractIntFieldBounds(int a_maxValue)
Method Detail

getMaximum

public final int getMaximum()
Description copied from interface: JAPJIntField.IIntFieldBounds
Returns the maximum value that is allowed to enter.

Specified by:
getMaximum in interface JAPJIntField.IIntFieldBounds
Returns:
the maximum value that is allowed to enter or a value smaller than zero if there is no upper bound