jet.html
Interface JetInput

All Superinterfaces:
java.lang.Cloneable, Decodeable, Identifiable, JetChildComponent, JetComponent, JetInputComponent, Resetable, java.io.Serializable, ValidationComponent
All Known Implementing Classes:
JetInput

public interface JetInput
extends JetInputComponent


Nested Class Summary
 
Nested classes/interfaces inherited from interface jet.html.JetChildComponent
JetChildComponent.HasNoParent
 
Field Summary
static java.lang.String HIDDEN
           
static java.lang.String PASSWORD
           
static java.lang.String TEXTAREA
           
static java.lang.String TEXTINPUT
           
 
Method Summary
 void addEvent(HTMLElementEvent event)
          Method to add event
 void addValidationRule(ValidationRule rule)
          Method to add validation rules
 java.lang.Object clone()
          needs to be implemented
 void decodeForm(java.lang.StringBuilder builder, JetContext jetContext)
           
 java.util.List getEvents()
          Method to get events
 java.lang.String getInputtype()
           
 java.util.List getValidationRules()
          Method to get validations
 boolean hasEvent(HTMLElementEvent event)
          Method to indicate if aspecial event exist
 boolean hasEvents()
          Method to indicate if events exists
 boolean hasValidationRules()
          Method to indicate if validation exists
 void reset()
          Reset the value for reuse - ObjectPool!
 void setInputType(java.lang.String inputtype)
           
 
Methods inherited from interface jet.html.JetInputComponent
decodeGetString, encode, getDisplayValue, getFormDisplayValue, getValue, hasValue, setHidden, setValue
 
Methods inherited from interface jet.html.JetChildComponent
getForm, getParent, isHidden, setParent, toggleHidden
 
Methods inherited from interface jet.html.JetComponent
addListener, addListener, componentChanged, findComponent, findComponents, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass
 
Methods inherited from interface jet.pool.Identifiable
getIdentifier
 

Field Detail

HIDDEN

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

PASSWORD

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

TEXTINPUT

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

TEXTAREA

static final java.lang.String TEXTAREA
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

getInputtype

java.lang.String getInputtype()

setInputType

void setInputType(java.lang.String inputtype)

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

addValidationRule

void addValidationRule(ValidationRule rule)
Description copied from interface: ValidationComponent
Method to add validation rules

Specified by:
addValidationRule in interface ValidationComponent
Parameters:
rule - ValidationRule

hasValidationRules

boolean hasValidationRules()
Description copied from interface: ValidationComponent
Method to indicate if validation exists

Specified by:
hasValidationRules in interface ValidationComponent

getValidationRules

java.util.List getValidationRules()
Description copied from interface: ValidationComponent
Method to get validations

Specified by:
getValidationRules in interface ValidationComponent
Returns:
List ValidationRules

addEvent

void addEvent(HTMLElementEvent event)
Description copied from interface: JetInputComponent
Method to add event

Specified by:
addEvent in interface JetInputComponent
Parameters:
event - event

hasEvents

boolean hasEvents()
Description copied from interface: JetInputComponent
Method to indicate if events exists

Specified by:
hasEvents in interface JetInputComponent

hasEvent

boolean hasEvent(HTMLElementEvent event)
Description copied from interface: JetInputComponent
Method to indicate if aspecial event exist

Specified by:
hasEvent in interface JetInputComponent

getEvents

java.util.List getEvents()
Description copied from interface: JetInputComponent
Method to get events

Specified by:
getEvents in interface JetInputComponent
Returns:
List HTMLElementEvent

reset

void reset()
Description copied from interface: JetInputComponent
Reset the value for reuse - ObjectPool!

Specified by:
reset in interface JetInputComponent
Specified by:
reset in interface Resetable