jet.html
Interface JetInputComponent

All Superinterfaces:
java.lang.Cloneable, Decodeable, Identifiable, JetChildComponent, JetComponent, Resetable, java.io.Serializable, ValidationComponent
All Known Subinterfaces:
JetButton, JetCheckbox, JetInput, JetRadiobutton, JetRandomizer, JetSelection, JetTextArea
All Known Implementing Classes:
JetButton, JetCheckbox, JetInput, JetInputComponent, JetRadiobutton, JetRandomizer, JetSelection, JetTextArea

public interface JetInputComponent
extends JetChildComponent, ValidationComponent, Resetable


Nested Class Summary
 
Nested classes/interfaces inherited from interface jet.html.JetChildComponent
JetChildComponent.HasNoParent
 
Method Summary
 void addEvent(HTMLElementEvent event)
          Method to add event
 java.lang.String decodeGetString(JetContext jetContext)
           
 void encode(java.util.Map requestParamters)
           
 java.lang.String getDisplayValue(java.lang.String encoding)
           
 java.util.List getEvents()
          Method to get events
 java.lang.String getFormDisplayValue()
           
 java.lang.String getValue()
           
 boolean hasEvent(HTMLElementEvent event)
          Method to indicate if aspecial event exist
 boolean hasEvents()
          Method to indicate if events exists
 boolean hasValue()
           
 void reset()
          Reset the value for reuse - ObjectPool!
 void setHidden(boolean hidden)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from interface jet.html.JetChildComponent
getForm, getParent, isHidden, setParent, toggleHidden
 
Methods inherited from interface jet.html.JetComponent
addListener, addListener, clone, componentChanged, decodeForm, findComponent, findComponents, getIdentifier, getName, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass
 
Methods inherited from interface jet.validation.ValidationComponent
addValidationRule, getValidationRules, hasValidationRules
 
Methods inherited from interface jet.pool.Identifiable
getIdentifier
 

Method Detail

encode

void encode(java.util.Map requestParamters)

decodeGetString

java.lang.String decodeGetString(JetContext jetContext)
                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getFormDisplayValue

java.lang.String getFormDisplayValue()

getDisplayValue

java.lang.String getDisplayValue(java.lang.String encoding)
                                 throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getValue

java.lang.String getValue()

setValue

void setValue(java.lang.String value)

hasValue

boolean hasValue()

setHidden

void setHidden(boolean hidden)

addEvent

void addEvent(HTMLElementEvent event)
Method to add event

Parameters:
event - event

hasEvents

boolean hasEvents()
Method to indicate if events exists


hasEvent

boolean hasEvent(HTMLElementEvent event)
Method to indicate if aspecial event exist


getEvents

java.util.List getEvents()
Method to get events

Returns:
List HTMLElementEvent

reset

void reset()
Reset the value for reuse - ObjectPool!

Specified by:
reset in interface Resetable