|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.custom.jslistener.AbstractJsValueChangeListener
org.apache.myfaces.custom.jslistener.JsValueChangeListener
public class JsValueChangeListener
| Field Summary | |
|---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
| Constructor Summary | |
|---|---|
JsValueChangeListener()
|
|
| Method Summary | |
|---|---|
String |
getBodyTagEvent()
Events are triggered by the 'onchange' event of the source control. |
String |
getExpressionValue()
the javascript expression to evaluate. |
String |
getFamily()
|
String |
getFor()
for - the id of the target control |
String |
getProperty()
The result of the evaluated expression is assigned to the specified property of the target control |
void |
restoreState(javax.faces.context.FacesContext facesContext,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext facesContext)
|
void |
setBodyTagEvent(String bodyTagEvent)
|
void |
setExpressionValue(String expressionValue)
|
void |
setFor(String forParam)
|
void |
setProperty(String property)
|
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
| Constructor Detail |
|---|
public JsValueChangeListener()
| Method Detail |
|---|
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic String getFor()
AbstractJsValueChangeListener
getFor in class AbstractJsValueChangeListenerpublic void setFor(String forParam)
public String getExpressionValue()
AbstractJsValueChangeListener
getExpressionValue in class AbstractJsValueChangeListenerpublic void setExpressionValue(String expressionValue)
public String getProperty()
AbstractJsValueChangeListener
getProperty in class AbstractJsValueChangeListenerpublic void setProperty(String property)
public String getBodyTagEvent()
AbstractJsValueChangeListener
getBodyTagEvent in class AbstractJsValueChangeListenerpublic void setBodyTagEvent(String bodyTagEvent)
public Object saveState(javax.faces.context.FacesContext facesContext)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIComponentBase
public void restoreState(javax.faces.context.FacesContext facesContext,
Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIComponentBase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||