jet.html
Interface JetRandomizer

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

public interface JetRandomizer
extends JetInputComponent


Nested Class Summary
 
Nested classes/interfaces inherited from interface jet.html.JetChildComponent
JetChildComponent.HasNoParent
 
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.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!
 
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
 

Method Detail

decodeForm

void decodeForm(java.lang.StringBuilder builder,
                JetContext jetContext)
Specified by:
decodeForm in interface Decodeable
Specified by:
decodeForm in interface JetComponent

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

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

addEvent

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

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

getEvents

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

Specified by:
getEvents in interface JetInputComponent
Returns:
List HTMLElementEvent

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

getValidationRules

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

Specified by:
getValidationRules in interface ValidationComponent
Returns:
List ValidationRules

hasValidationRules

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

Specified by:
hasValidationRules in interface ValidationComponent

addValidationRule

void addValidationRule(ValidationRule rule)
                       throws java.lang.IllegalStateException
Description copied from interface: ValidationComponent
Method to add validation rules

Specified by:
addValidationRule in interface ValidationComponent
Parameters:
rule - ValidationRule
Throws:
java.lang.IllegalStateException