Class AbstractListener

  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.inputAjax.AbstractListener
All Implemented Interfaces:

public abstract class AbstractListener
extends javax.faces.component.UIComponentBase

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
Fields inherited from class javax.faces.component.UIComponent
Constructor Summary
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, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getValueExpression, setValueExpression
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
See Also:
Constant Field Values


public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values


public static final java.lang.String LISTENER_MAP_ENTRY
See Also:
Constant Field Values
Constructor Detail


public AbstractListener()
Method Detail


public boolean isRendered()
isRendered in class javax.faces.component.UIComponentBase


public java.lang.String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent


public abstract java.lang.String getOn()
Id of another component.


public abstract java.lang.String getEventType()
NOT IMPLEMENTED - Type of event (ie: onchange, onclick)


public abstract java.lang.String getAction()
NOT IMPLEMENTED - Action to take (ie: update, submit, call (call a javascript function))

Copyright © 2011 The Apache Software Foundation. All Rights Reserved.