|
||||||||||
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.inputAjax.AbstractListener
public abstract class AbstractListener
Allows a component to listen for events on another component with AJAX input elements. On is the id of the component you want to listen on. eventType is what happened to the component, for instance "onChange" action is what to do if the event occurs, default is "update". Will be able to call arbitrary javascript functions too. NOTE: eventType and action are NOT implemented yet
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
LISTENER_MAP_ENTRY
|
Constructor Summary | |
---|---|
AbstractListener()
|
Method Summary | |
---|---|
abstract java.lang.String |
getAction()
NOT IMPLEMENTED - Action to take (ie: update, submit, call (call a javascript function)) |
abstract java.lang.String |
getEventType()
NOT IMPLEMENTED - Type of event (ie: onchange, onclick) |
java.lang.String |
getFamily()
|
abstract java.lang.String |
getOn()
Id of another component. |
boolean |
isRendered()
|
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, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, 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 java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String LISTENER_MAP_ENTRY
Constructor Detail |
---|
public AbstractListener()
Method Detail |
---|
public boolean isRendered()
isRendered
in class javax.faces.component.UIComponentBase
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UIComponent
public abstract java.lang.String getOn()
public abstract java.lang.String getEventType()
public abstract java.lang.String getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |