|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a number of components that act as a normal
TextField
component, but perform extra validation.
Method Summary | |
java.lang.String |
getDisplayName()
Returns the display name for the component, suitable for display to a user. |
boolean |
getError()
Returns true if an error has been detected in this component. |
java.lang.String |
getName()
Returns the form name for the component; this is for constructing JavaScript event handlers and such. |
boolean |
isRequired()
Returns true if entering a non-null value into the field is required. |
void |
refresh()
Forces the component to re-read through its value binding (whose name and type is dependant on the implementation). |
void |
setError(boolean value)
Used to force an error flag on or off for this component. |
Methods inherited from interface com.primix.tapestry.IComponent |
addAsset, addComponent, addWrapped, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getPage, getSpecification, renderWrapped, setBinding, setContainer, setId, setPage, setSpecification |
Methods inherited from interface com.primix.tapestry.IRender |
render |
Method Detail |
public boolean isRequired()
public void refresh()
public boolean getError()
public void setError(boolean value)
public java.lang.String getDisplayName()
public java.lang.String getName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |