org.apache.myfaces.trinidad.component
Class UIXComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by org.apache.myfaces.trinidad.component.UIXComponent
All Implemented Interfaces:
javax.faces.component.StateHolder
Direct Known Subclasses:
UIXComponentBase

public abstract class UIXComponent
extends javax.faces.component.UIComponent

Pure abstract base class for all UIX components.


Constructor Summary
UIXComponent()
           
 
Method Summary
abstract  void addAttributeChangeListener(AttributeChangeListener acl)
          Adds an AttributeChangeListener.
abstract  void encodeAll(javax.faces.context.FacesContext context)
           
abstract  javax.faces.el.MethodBinding getAttributeChangeListener()
          Gets the method binding to an AttributeChangeListener.
abstract  AttributeChangeListener[] getAttributeChangeListeners()
          Gets the registered AttributeChangeListeners.
abstract  java.util.Map getAttributes()
           
abstract  java.util.List getChildren()
           
abstract  FacesBean getFacesBean()
          Returns the FacesBean used for storing the component's state.
protected abstract  javax.faces.event.FacesListener[] getFacesListeners(java.lang.Class clazz)
           
abstract  int getFacetCount()
           
abstract  java.util.Map getFacets()
           
abstract  java.util.Iterator getFacetsAndChildren()
           
abstract  boolean isTransient()
           
abstract  void markInitialState()
           
abstract  void removeAttributeChangeListener(AttributeChangeListener acl)
          Removes an AttributeChangeListener.
abstract  void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
abstract  java.lang.Object saveState(javax.faces.context.FacesContext context)
           
abstract  void setAttributeChangeListener(javax.faces.el.MethodBinding mb)
          Sets a method binding to an AttributeChangeListener.
abstract  void setTransient(boolean trans)
           
 
Methods inherited from class javax.faces.component.UIComponent
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getClientId, getFacesContext, getFacet, getFamily, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, setId, setParent, setRendered, setRendererType, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIXComponent

public UIXComponent()
Method Detail

getFacesBean

public abstract FacesBean getFacesBean()
Returns the FacesBean used for storing the component's state.


addAttributeChangeListener

public abstract void addAttributeChangeListener(AttributeChangeListener acl)
Adds an AttributeChangeListener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


removeAttributeChangeListener

public abstract void removeAttributeChangeListener(AttributeChangeListener acl)
Removes an AttributeChangeListener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


getAttributeChangeListeners

public abstract AttributeChangeListener[] getAttributeChangeListeners()
Gets the registered AttributeChangeListeners.


setAttributeChangeListener

public abstract void setAttributeChangeListener(javax.faces.el.MethodBinding mb)
Sets a method binding to an AttributeChangeListener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


getAttributeChangeListener

public abstract javax.faces.el.MethodBinding getAttributeChangeListener()
Gets the method binding to an AttributeChangeListener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing.


markInitialState

public abstract void markInitialState()

getFacetCount

public abstract int getFacetCount()

encodeAll

public abstract void encodeAll(javax.faces.context.FacesContext context)
                        throws java.io.IOException
Throws:
java.io.IOException

getAttributes

public abstract java.util.Map getAttributes()
Specified by:
getAttributes in class javax.faces.component.UIComponent

getChildren

public abstract java.util.List getChildren()
Specified by:
getChildren in class javax.faces.component.UIComponent

getFacets

public abstract java.util.Map getFacets()
Specified by:
getFacets in class javax.faces.component.UIComponent

getFacetsAndChildren

public abstract java.util.Iterator getFacetsAndChildren()
Specified by:
getFacetsAndChildren in class javax.faces.component.UIComponent

getFacesListeners

protected abstract javax.faces.event.FacesListener[] getFacesListeners(java.lang.Class clazz)
Specified by:
getFacesListeners in class javax.faces.component.UIComponent

saveState

public abstract java.lang.Object saveState(javax.faces.context.FacesContext context)

restoreState

public abstract void restoreState(javax.faces.context.FacesContext context,
                                  java.lang.Object state)

isTransient

public abstract boolean isTransient()

setTransient

public abstract void setTransient(boolean trans)


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.