|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjet.html.core.JetComponent
jet.html.core.JetChildComponent
jet.html.core.JetInputComponent
jet.html.impl.JetRandomizer
public class JetRandomizer
This class redners input fields
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface jet.html.JetChildComponent |
---|
JetChildComponent.HasNoParent |
Field Summary |
---|
Fields inherited from class jet.html.core.JetComponent |
---|
eventSupport |
Constructor Summary | |
---|---|
JetRandomizer(java.lang.String identifier)
|
|
JetRandomizer(java.lang.String identifier,
java.lang.String styleclass)
Creates new Component |
|
JetRandomizer(java.lang.String identifier,
java.lang.String name,
java.lang.String styleclass)
Creates new Component |
Method Summary | |
---|---|
void |
addEvent(HTMLElementEvent event)
Method to add event |
void |
addValidationRule(ValidationRule rule)
Method to add validation rules |
java.lang.Object |
clone()
This method generates a clone of the curent one |
void |
decodeForm(java.lang.StringBuilder builder,
JetContext jetContext)
This method decodes the form to the given buffer |
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()
jet.html.core.JetInputComponent#reset() |
Methods inherited from class jet.html.core.JetInputComponent |
---|
decodeGetString, encode, getDisplayValue, getFormDisplayValue, getValue, hasValue, setHidden, setValue |
Methods inherited from class jet.html.core.JetChildComponent |
---|
getForm, getParent, isHidden, setParent, toggleHidden |
Methods inherited from class jet.html.core.JetComponent |
---|
addListener, addListener, componentChanged, findComponent, findComponents, getGeneratedComponentIdentifier, getIdentifier, getName, getNewIdentifier, getStyleclass, incrementIdentifier, removeListener, removeListener, setComponentChanged, setContinueIdentifier, setIdentifier, setName, setStyleclass |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 |
Constructor Detail |
---|
public JetRandomizer(java.lang.String identifier)
public JetRandomizer(java.lang.String identifier, java.lang.String styleclass)
identifier
- the identifierstyleclass
- the css style classpublic JetRandomizer(java.lang.String identifier, java.lang.String name, java.lang.String styleclass)
identifier
- the identifiername
- the name of the component if different to identifierstyleclass
- the css style classMethod Detail |
---|
public void decodeForm(java.lang.StringBuilder builder, JetContext jetContext)
decodeForm
in interface Decodeable
decodeForm
in interface JetComponent
decodeForm
in interface JetRandomizer
decodeForm
in class JetComponent
builder
- builder to usepublic java.lang.Object clone()
clone
in interface JetComponent
clone
in interface JetRandomizer
clone
in class JetComponent
public void reset()
reset
in interface JetInputComponent
reset
in interface JetRandomizer
reset
in interface Resetable
public void addEvent(HTMLElementEvent event)
JetInputComponent
addEvent
in interface JetInputComponent
addEvent
in interface JetRandomizer
event
- eventpublic java.util.List getEvents()
JetInputComponent
getEvents
in interface JetInputComponent
getEvents
in interface JetRandomizer
public boolean hasEvents()
JetInputComponent
hasEvents
in interface JetInputComponent
hasEvents
in interface JetRandomizer
public boolean hasEvent(HTMLElementEvent event)
JetInputComponent
hasEvent
in interface JetInputComponent
hasEvent
in interface JetRandomizer
public java.util.List getValidationRules()
ValidationComponent
getValidationRules
in interface JetRandomizer
getValidationRules
in interface ValidationComponent
public boolean hasValidationRules()
ValidationComponent
hasValidationRules
in interface JetRandomizer
hasValidationRules
in interface ValidationComponent
public void addValidationRule(ValidationRule rule) throws java.lang.IllegalStateException
ValidationComponent
addValidationRule
in interface JetRandomizer
addValidationRule
in interface ValidationComponent
rule
- ValidationRule
java.lang.IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |