V
- type of result objectpublic abstract class ParseAbstractInput<V> extends AbstractInput<V> implements LengthInput<V>
validators
Constructor and Description |
---|
ParseAbstractInput() |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(InputVisitor<R> vis) |
int |
getBoxWidth()
Get the input width for this Parameter as a text box.
|
int |
getMaxResultLength()
Get the maximum permitted value for this input
A zero or -ve value implies no limit.
|
boolean |
getSingle()
Get if the input should be forced to be a single line
|
void |
setBoxWidth(int l)
set the input width for this parameter as a text box.
|
void |
setMaxResultLength(int l)
set the input length for this parameter as a text box.
|
void |
setSingle(boolean b)
Set if the input should be forced to be a single line
|
getValue, setKey, setValue
addValidator, convert, getKey, getPrettyString, getString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getString, parse, parseValue
addValidator, convert, getKey, getPrettyString, getString, getValue, isEmpty, removeValidator, setKey, setValue, validate
public int getMaxResultLength()
getMaxResultLength
in interface LengthInput<V>
public int getBoxWidth()
LengthInput
getBoxWidth
in interface LengthInput<V>
public boolean getSingle()
getSingle
in interface LengthInput<V>
public void setMaxResultLength(int l)
setMaxResultLength
in interface LengthInput<V>
l
- int input_lengthpublic void setBoxWidth(int l)
setBoxWidth
in interface LengthInput<V>
l
- int maximum input widthpublic void setSingle(boolean b)
b
- booleanpublic <R> R accept(InputVisitor<R> vis) throws java.lang.Exception