jeters.core
Class UIRequest_Integer

java.lang.Object
  extended by jeters.core.UIRequest
      extended by jeters.core.UIRequest_Integer

public class UIRequest_Integer
extends UIRequest

this subclass of UIRequest is used when an integer value is desired as the request's result.


Nested Class Summary
 
Nested classes/interfaces inherited from class jeters.core.UIRequest
UIRequest.Type
 
Field Summary
 int range_max
          the UI has to ensure that range_min <= r <= range_max ( r = the reply ).
 int range_min
          the UI has to ensure that range_min <= r <= range_max ( r = the reply ).
 java.lang.Integer startingValue
          the value that will initially be set and will be the result of the request unless the user changes it; can be null (no specified starting value).
 
Fields inherited from class jeters.core.UIRequest
help, label, name
 
Constructor Summary
UIRequest_Integer(java.lang.String name, java.lang.String label, java.lang.String help)
          constructor that can be used if any integer will be accepted, range_min and range_max are set to values indicating this; startingValue remains null.
UIRequest_Integer(java.lang.String name, java.lang.String label, java.lang.String help, java.lang.Integer startingValue)
          constructor that can be used if any integer will be accepted, range_min and range_max are set to values indicating this.
UIRequest_Integer(java.lang.String name, java.lang.String label, java.lang.String help, java.lang.Integer startingValue, int range_min, int range_max)
          simple "this.xyz = xyz"-constructor.
UIRequest_Integer(java.lang.String name, java.lang.String label, java.lang.String help, int range_min, int range_max)
          simple "this.xyz = xyz"-constructor, startingValue remains null.
 
Method Summary
 UIRequest.Type getType()
          returns the type of the request: Request_Integer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

range_min

public int range_min
the UI has to ensure that range_min <= r <= range_max ( r = the reply ). only relevant if range_max >= range_min, otherwise (e.g. with the default values) any integer will be accepted.


range_max

public int range_max
the UI has to ensure that range_min <= r <= range_max ( r = the reply ). only relevant if range_max >= range_min, otherwise (e.g. with the default values) any integer will be accepted.


startingValue

public java.lang.Integer startingValue
the value that will initially be set and will be the result of the request unless the user changes it; can be null (no specified starting value).

Constructor Detail

UIRequest_Integer

public UIRequest_Integer(java.lang.String name,
                         java.lang.String label,
                         java.lang.String help,
                         java.lang.Integer startingValue,
                         int range_min,
                         int range_max)
simple "this.xyz = xyz"-constructor.


UIRequest_Integer

public UIRequest_Integer(java.lang.String name,
                         java.lang.String label,
                         java.lang.String help,
                         int range_min,
                         int range_max)
simple "this.xyz = xyz"-constructor, startingValue remains null.


UIRequest_Integer

public UIRequest_Integer(java.lang.String name,
                         java.lang.String label,
                         java.lang.String help,
                         java.lang.Integer startingValue)
constructor that can be used if any integer will be accepted, range_min and range_max are set to values indicating this.


UIRequest_Integer

public UIRequest_Integer(java.lang.String name,
                         java.lang.String label,
                         java.lang.String help)
constructor that can be used if any integer will be accepted, range_min and range_max are set to values indicating this; startingValue remains null.

Method Detail

getType

public UIRequest.Type getType()
returns the type of the request: Request_Integer.

Specified by:
getType in class UIRequest