jeters.core
Class UIRequest_Boolean
java.lang.Object
jeters.core.UIRequest
jeters.core.UIRequest_Boolean
public class UIRequest_Boolean
- extends UIRequest
this subclass of UIRequest
is used when a boolean value is desired as the request's result.
Field Summary |
java.lang.Boolean |
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 Summary |
UIRequest_Boolean(java.lang.String name,
java.lang.String label,
java.lang.String help)
simple "this.xyz = xyz"-constructor, startingValue remains null. |
UIRequest_Boolean(java.lang.String name,
java.lang.String label,
java.lang.String help,
java.lang.Boolean startingValue)
simple "this.xyz = xyz"-constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startingValue
public java.lang.Boolean 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).
UIRequest_Boolean
public UIRequest_Boolean(java.lang.String name,
java.lang.String label,
java.lang.String help,
java.lang.Boolean startingValue)
- simple "this.xyz = xyz"-constructor.
UIRequest_Boolean
public UIRequest_Boolean(java.lang.String name,
java.lang.String label,
java.lang.String help)
- simple "this.xyz = xyz"-constructor, startingValue remains null.
getType
public UIRequest.Type getType()
- returns the type of the request: Request_Boolean.
- Specified by:
getType
in class UIRequest