oracle.adf.view.faces.component
Class TreeTableBase

java.lang.Object
  |
  +--javax.faces.component.UIComponent
        |
        +--oracle.adf.view.faces.component.UIXComponent
              |
              +--oracle.adf.view.faces.component.UIXComponentBase
                    |
                    +--oracle.adf.view.faces.component.CollectionBase
                          |
                          +--oracle.adf.view.faces.component.TreeBase
                                |
                                +--oracle.adf.view.faces.component.UIXTree
                                      |
                                      +--oracle.adf.view.faces.component.TreeTableBase
All Implemented Interfaces:
CollectionComponent, javax.faces.component.NamingContainer, javax.faces.component.StateHolder
Direct Known Subclasses:
CoreTreeTable

public abstract class TreeTableBase
extends UIXTree

Base class for TreeTable component. The behaviours implemented by the TreeTable include expanding/collapsing subtrees and focusing into subtrees.


Field Summary
 
Fields inherited from class oracle.adf.view.faces.component.UIXTree
COMPONENT_FAMILY, COMPONENT_TYPE, DISCLOSURE_LISTENER_KEY, IMMEDIATE_KEY, TREE_STATE_KEY, TYPE, VALUE_KEY, VAR_KEY
 
Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase
ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
TreeTableBase()
           
 
Method Summary
 void addFocusListener(FocusListener listener)
          Adds a FocusListener.
 void broadcast(javax.faces.event.FacesEvent event)
          Delivers a wrapped event to the appropriate component.
abstract  javax.faces.el.MethodBinding getFocusListener()
           
 FocusListener[] getFocusListeners()
          Retrieves all FocusListeners
abstract  java.util.List getFocusPath()
          Gets the path of the subtree element that has the focus
 void removeFocusListener(FocusListener listener)
          Removes a FocusListener.
protected  void restoreStampState(javax.faces.context.FacesContext context, javax.faces.component.UIComponent stamp)
           
protected  void saveStampState(javax.faces.context.FacesContext context, javax.faces.component.UIComponent stamp)
          saves the state of a component being used as a stamp.
abstract  void setFocusPath(java.util.List focus)
          Sets the focus of the TreeTable.
 
Methods inherited from class oracle.adf.view.faces.component.UIXTree
getBeanType, getDisclosureListener, getFamily, getTreeState, getValue, getVar, isImmediate, setDisclosureListener, setImmediate, setTreeState, setValue, setVar
 
Methods inherited from class oracle.adf.view.faces.component.TreeBase
addDisclosureListener, encodeBegin, getDisclosureListeners, getFirst, getLocalClientId, getPath, getRowCount, getRowData, getRowIndex, getRowKey, getRows, getSelectionState, getTreeModel, isRowAvailable, isRowContainer, popPath, processDecodes, pushPath, removeDisclosureListener, restoreState, saveState, setPath, setRowIndex, setRowKey
 
Methods inherited from class oracle.adf.view.faces.component.CollectionBase
processUpdates, processValidators, queueEvent
 
Methods inherited from class oracle.adf.view.faces.component.UIXComponentBase
addFacesListener, createFacesBean, decode, encodeChildren, encodeEnd, findComponent, getAttribute, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getIntProperty, getParent, getProperty, getPropertyKey, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, setAttribute, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeTableBase

public TreeTableBase()
Method Detail

getFocusPath

public abstract java.util.List getFocusPath()
Gets the path of the subtree element that has the focus

Returns:
each element is a row-key string.

setFocusPath

public abstract void setFocusPath(java.util.List focus)
Sets the focus of the TreeTable.

Parameters:
focus - each element is a row-key string, that defines the path to the element that is the new focus.

addFocusListener

public void addFocusListener(FocusListener listener)
Adds a FocusListener.


removeFocusListener

public void removeFocusListener(FocusListener listener)
Removes a FocusListener.


getFocusListeners

public FocusListener[] getFocusListeners()
Retrieves all FocusListeners


getFocusListener

public abstract javax.faces.el.MethodBinding getFocusListener()

broadcast

public void broadcast(javax.faces.event.FacesEvent event)
               throws javax.faces.event.AbortProcessingException
Description copied from class: CollectionBase
Delivers a wrapped event to the appropriate component. If the event is a special wrapped event, it is unwrapped.

Overrides:
broadcast in class CollectionBase
Parameters:
event -
Throws:
javax.faces.event.AbortProcessingException

restoreStampState

protected final void restoreStampState(javax.faces.context.FacesContext context,
                                       javax.faces.component.UIComponent stamp)
Overrides:
restoreStampState in class TreeBase

saveStampState

protected final void saveStampState(javax.faces.context.FacesContext context,
                                    javax.faces.component.UIComponent stamp)
Description copied from class: TreeBase
saves the state of a component being used as a stamp. This method will be called every time the current row of this table is changed.

Overrides:
saveStampState in class TreeBase
Parameters:
context -
stamp -


Copyright © 2003-2004 Oracle Corporation. All Rights Reserved.