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, setLineBreaksaddValidator, getKey, getString, removeValidator, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, addValidator, getKey, getPrettyString, removeValidator, setKey, validatepublic void fixLeft(L left)
left - public void fixRight(R right)
right - public T getItembyValue(java.lang.Integer num)
ItemInputgetItembyValue in interface ItemInput<java.lang.Integer,T extends LinkManager.Link<L,R>>num - input Valuepublic java.lang.String getString(java.lang.Integer value)
BaseInputgetString in interface Input<java.lang.Integer>getString in class MultiInput<java.lang.Integer,Input>ParseInputpublic java.lang.Integer getValue()
InputgetValue in interface Input<java.lang.Integer>getValue in class MultiInput<java.lang.Integer,Input>public void parse(java.lang.String v)
throws ParseException
ParseExceptionpublic void setItem(T l)
ItemInputpublic java.lang.Integer setValue(java.lang.Integer v)
throws TypeError
Inputpublic java.lang.Integer convert(java.lang.Object v)
Inputpublic void validateInner()
throws FieldException
BaseInputvalidateInner in class MultiInput<java.lang.Integer,Input>FieldExceptionpublic boolean isEmpty()
InputisEmpty in interface Input<java.lang.Integer>isEmpty in class MultiInput<java.lang.Integer,Input>public T getDataObject()