jet.html
Interface JetForm
- All Superinterfaces:
- java.lang.Cloneable, Decodeable, Identifiable, JetChildComponent, JetChildComponent.HasNoParent, JetComponent, JetParentComponent, Poolable, Resetable, java.io.Serializable
- All Known Implementing Classes:
- JetForm
public interface JetForm
- extends JetParentComponent, JetChildComponent.HasNoParent, Poolable
Field Summary |
static java.lang.String |
GET
|
static java.lang.String |
POST
|
Methods inherited from interface jet.html.JetComponent |
addListener, addListener, componentChanged, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass |
POST
static final java.lang.String POST
- See Also:
- Constant Field Values
GET
static final java.lang.String GET
- See Also:
- Constant Field Values
decodeForm
void decodeForm(java.lang.StringBuilder builder,
JetContext jetContext)
- Specified by:
decodeForm
in interface Decodeable
- Specified by:
decodeForm
in interface JetComponent
decodeGetString
java.lang.String decodeGetString(JetContext jetContext)
throws java.io.UnsupportedEncodingException
- Specified by:
decodeGetString
in interface JetParentComponent
- Throws:
java.io.UnsupportedEncodingException
decode
java.lang.String decode(JetContext jetContext)
clone
java.lang.Object clone()
- Description copied from interface:
Cloneable
- needs to be implemented
- Specified by:
clone
in interface JetComponent
- Returns:
- Obejct the clone of it
copy
JetForm copy()
getAction
java.lang.String getAction()
setAction
void setAction(java.lang.String action)
getEnctype
java.lang.String getEnctype()
setEnctype
void setEnctype(java.lang.String enctype)
getMethod
java.lang.String getMethod()
setMethod
void setMethod(java.lang.String method)
hasFileUpload
boolean hasFileUpload()
setHasFileUpload
void setHasFileUpload(boolean val)
reset
void reset()
- Specified by:
reset
in interface JetParentComponent
- Specified by:
reset
in interface Resetable
hasServerValidations
boolean hasServerValidations()
hasClientValidations
boolean hasClientValidations()
hasAjaxValidations
boolean hasAjaxValidations()
getServerValidationRules
java.util.HashMap getServerValidationRules()
getAjaxValidationRules
java.util.HashMap getAjaxValidationRules()
getClientValidationRules
java.util.HashMap getClientValidationRules()
addValidation
void addValidation(JetComponent component,
java.util.List validationRules)
getAjaxValidation
java.lang.String getAjaxValidation(JetContext context,
boolean hasClientValidation,
boolean renderScriptTags)
getJavascriptValidation
java.lang.String getJavascriptValidation(JetContext context,
boolean renderScriptTags,
boolean formtag)
hasValues
boolean hasValues()
getAcceptCharset
java.lang.String getAcceptCharset()
setAcceptCharset
void setAcceptCharset(java.lang.String acceptCharset)
buildHashmap
void buildHashmap()
findComponent
JetComponent findComponent(java.lang.String identifier)
- Specified by:
findComponent
in interface JetComponent
findComponents
java.util.Collection<JetComponent> findComponents(java.lang.Class c)
- Specified by:
findComponents
in interface JetComponent
getCols
int getCols()
setCols
void setCols(int cols)