jeters.core
Class UIRequest_Float

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

public class UIRequest_Float
extends UIRequest

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


Nested Class Summary
 
Nested classes/interfaces inherited from class jeters.core.UIRequest
UIRequest.Type
 
Field Summary
 float range_max
          the UI has to ensure that range_min <= r <= range_max ( r = the reply ).
 float range_min
          the UI has to ensure that range_min <= r <= range_max ( r = the reply ).
 java.lang.Float 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_Float(java.lang.String name, java.lang.String label, java.lang.String help)
          constructor that can be used if any float will be accepted, range_min and range_max are set to values indicating this; startingValue remains null.
UIRequest_Float(java.lang.String name, java.lang.String label, java.lang.String help, java.lang.Float startingValue)
          constructor that can be used if any float will be accepted, range_min and range_max are set to values indicating this.
UIRequest_Float(java.lang.String name, java.lang.String label, java.lang.String help, float range_min, float range_max)
          simple "this.xyz = xyz"-constructor, startingValue remains null.
UIRequest_Float(java.lang.String name, java.lang.String label, java.lang.String help, java.lang.Float startingValue, float range_min, float range_max)
          simple "this.xyz = xyz"-constructor.
 
Method Summary
 UIRequest.Type getType()
          returns the type of the request: Request_Float.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

range_min

public float 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 float will be accepted.


range_max

public float 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 float will be accepted.


startingValue

public java.lang.Float 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_Float

public UIRequest_Float(java.lang.String name,
                       java.lang.String label,
                       java.lang.String help,
                       java.lang.Float startingValue,
                       float range_min,
                       float range_max)
simple "this.xyz = xyz"-constructor.


UIRequest_Float

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


UIRequest_Float

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


UIRequest_Float

public UIRequest_Float(java.lang.String name,
                       java.lang.String label,
                       java.lang.String help)
constructor that can be used if any float 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_Float.

Specified by:
getType in class UIRequest