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


Nested Class Summary
 
Nested classes/interfaces inherited from interface jet.html.JetChildComponent
JetChildComponent.HasNoParent
 
Field Summary
static java.lang.String GET
           
static java.lang.String POST
           
 
Method Summary
 void addValidation(JetComponent component, java.util.List validationRules)
           
 void buildHashmap()
           
 java.lang.Object clone()
          needs to be implemented
 JetForm copy()
           
 java.lang.String decode(JetContext jetContext)
           
 void decodeForm(java.lang.StringBuilder builder, JetContext jetContext)
           
 java.lang.String decodeGetString(JetContext jetContext)
           
 JetComponent findComponent(java.lang.String identifier)
           
 java.util.Collection<JetComponent> findComponents(java.lang.Class c)
           
 java.lang.String getAcceptCharset()
           
 java.lang.String getAction()
           
 java.lang.String getAjaxValidation(JetContext context, boolean hasClientValidation, boolean renderScriptTags)
           
 java.util.HashMap getAjaxValidationRules()
           
 java.util.HashMap getClientValidationRules()
           
 int getCols()
           
 java.lang.String getEnctype()
           
 java.lang.String getJavascriptValidation(JetContext context, boolean renderScriptTags, boolean formtag)
           
 java.lang.String getMethod()
           
 java.util.HashMap getServerValidationRules()
           
 boolean hasAjaxValidations()
           
 boolean hasClientValidations()
           
 boolean hasFileUpload()
           
 boolean hasServerValidations()
           
 boolean hasValues()
           
 void reset()
           
 void setAcceptCharset(java.lang.String acceptCharset)
           
 void setAction(java.lang.String action)
           
 void setCols(int cols)
           
 void setEnctype(java.lang.String enctype)
           
 void setHasFileUpload(boolean val)
           
 void setMethod(java.lang.String method)
           
 
Methods inherited from interface jet.html.JetParentComponent
add, add, encode, getChild, getChilds, remove, setChilds
 
Methods inherited from interface jet.html.JetChildComponent
getForm, getParent, isHidden, setParent, toggleHidden
 
Methods inherited from interface jet.html.JetComponent
addListener, addListener, componentChanged, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass
 
Methods inherited from interface jet.pool.Identifiable
getIdentifier
 

Field Detail

POST

static final java.lang.String POST
See Also:
Constant Field Values

GET

static final java.lang.String GET
See Also:
Constant Field Values
Method Detail

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)