| 
||||||||||
| 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
public abstract class JetInputComponent
This abstract class defines how input components have to be design and implements generic field methods
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from interface jet.html.JetChildComponent | 
|---|
JetChildComponent.HasNoParent | 
| Field Summary | |
|---|---|
private  java.lang.String | 
value
The value to hold  | 
| Fields inherited from class jet.html.core.JetComponent | 
|---|
eventSupport | 
| Constructor Summary | |
|---|---|
JetInputComponent(java.lang.String identifier)
Constructor(identifier)  | 
|
JetInputComponent(java.lang.String identifier,
                  java.lang.String styleclass)
Constructor(identifier)  | 
|
JetInputComponent(java.lang.String identifier,
                  java.lang.String name,
                  java.lang.String styleclass)
Constructor(identifier)  | 
|
| Method Summary | |
|---|---|
 java.lang.String | 
decodeGetString(JetContext jetContext)
Method to render GET string  | 
 void | 
encode(java.util.Map requestParamters)
Method de encode the component value from request parameters  | 
 java.lang.String | 
getDisplayValue(java.lang.String encoding)
Returns the displayed value for GET string  | 
 java.lang.String | 
getFormDisplayValue()
Returns the form displayed value - html escaped  | 
 java.lang.String | 
getValue()
Returns teh value as is  | 
 boolean | 
hasValue()
 | 
 void | 
setHidden(boolean hidden)
Set the hidden lag  | 
 void | 
setValue(java.lang.String value)
Set the value  | 
| Methods inherited from class jet.html.core.JetChildComponent | 
|---|
getForm, getParent, isHidden, setParent, toggleHidden | 
| Methods inherited from class jet.html.core.JetComponent | 
|---|
addListener, addListener, clone, componentChanged, decodeForm, 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 | 
|---|
addEvent, getEvents, hasEvent, hasEvents, reset | 
| 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 | 
| Field Detail | 
|---|
private java.lang.String value
| Constructor Detail | 
|---|
public JetInputComponent(java.lang.String identifier)
identifier - 
public JetInputComponent(java.lang.String identifier,
                         java.lang.String styleclass)
identifier - styleclass - the style class name
public JetInputComponent(java.lang.String identifier,
                         java.lang.String name,
                         java.lang.String styleclass)
identifier - name - the namestyleclass - the style class name| Method Detail | 
|---|
public void encode(java.util.Map requestParamters)
encode in interface JetInputComponent
public java.lang.String decodeGetString(JetContext jetContext)
                                 throws java.io.UnsupportedEncodingException
decodeGetString in interface JetInputComponentjava.io.UnsupportedEncodingExceptionpublic java.lang.String getFormDisplayValue()
getFormDisplayValue in interface JetInputComponent
public java.lang.String getDisplayValue(java.lang.String encoding)
                                 throws java.io.UnsupportedEncodingException
getDisplayValue in interface JetInputComponentjava.io.UnsupportedEncodingExceptionpublic java.lang.String getValue()
getValue in interface JetInputComponentpublic void setValue(java.lang.String value)
setValue in interface JetInputComponentvalue - teh valuepublic boolean hasValue()
hasValue in interface JetInputComponenthasValue()public void setHidden(boolean hidden)
setHidden in interface JetInputComponenthidden - the boolean if hidden or not
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||