public class LinkManager.LinkInput extends CompositeInput<java.lang.Integer> implements DataObjectItemInput<T>
validators
Constructor and Description |
---|
LinkInput() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
convert(java.lang.Object v)
Perform any supported type conversions to to generate a value of the
target type
|
void |
fixLeft(L left)
set a forcing value on the left side of the selector
|
void |
fixRight(R right)
set a forcing value on the right side of the selector
|
T |
getDataObject() |
T |
getItembyValue(java.lang.Integer num)
get the domain object from the Input value if defined
|
java.lang.String |
getString(java.lang.Integer value)
get a String representation of an Object that is compatible with the way
the input is parsed
|
java.lang.Integer |
getValue()
get the current value of the Object created by this selector.
|
boolean |
isEmpty()
Is the input empty.
|
void |
parse(java.lang.String v) |
void |
setItem(T l)
Set the value of the input using an item
|
java.lang.Integer |
setValue(java.lang.Integer v)
set the value of this selector.
|
void |
validateInner()
Extension point to add validation to sub-class specific inner-state
|
accept, addInput, addInput, containsInput, getInput, getInputs, getPrettyString, getSubKeys, getSubLabel, hasLineBreaks, hasSubLabels, removeInput, requireAll, setKey, setLineBreaks
addValidator, getKey, getString, removeValidator, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, addValidator, getKey, getPrettyString, removeValidator, setKey, validate
public void fixLeft(L left)
left
- public void fixRight(R right)
right
- public T getItembyValue(java.lang.Integer num)
ItemInput
getItembyValue
in interface ItemInput<java.lang.Integer,T extends LinkManager.Link<L,R>>
num
- input Valuepublic java.lang.String getString(java.lang.Integer value)
BaseInput
getString
in interface Input<java.lang.Integer>
getString
in class MultiInput<java.lang.Integer,Input>
ParseInput
public java.lang.Integer getValue()
Input
getValue
in interface Input<java.lang.Integer>
getValue
in class MultiInput<java.lang.Integer,Input>
public void parse(java.lang.String v) throws ParseException
ParseException
public void setItem(T l)
ItemInput
public java.lang.Integer setValue(java.lang.Integer v) throws TypeError
Input
public java.lang.Integer convert(java.lang.Object v)
Input
public void validateInner() throws FieldException
BaseInput
validateInner
in class MultiInput<java.lang.Integer,Input>
FieldException
public boolean isEmpty()
Input
isEmpty
in interface Input<java.lang.Integer>
isEmpty
in class MultiInput<java.lang.Integer,Input>
public T getDataObject()