|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.faces.component.UIComponent
oracle.adf.view.faces.component.UIXComponent
oracle.adf.view.faces.component.UIXComponentBase
oracle.adf.view.faces.component.UIXCollection
oracle.adf.view.faces.component.UIXHierarchy
oracle.adf.view.faces.component.UIXTree
oracle.adf.view.faces.component.UIXTreeTable
oracle.adf.view.faces.component.core.data.CoreTreeTable
The ADF TreeTable is used to display data that is structured in a hierarchical format. This component displays a hierarchy in a UI similar to an ADF Table, and is more elaborate than the Tree component. TreeTable supports displaying columns of data per element in the hierarchy. Unlike the Tree component, TreeTable only supports single rooted hierarchies. The features of the TreeTable component include mechanisms for focusing in on subtrees (within the main tree), as well as expanding and collapsing elements in the hierarchy.
Like the Table, the TreeTable's children must be ADF Column components. Like the Tree, the TreeTable has a "nodeStamp" facet which renders the "Object Name" Column. The "Object Name" Column contains the primary identifier of an element in the hierarchy. For example, in an organization chart of employees, the "Object Name" Column might be the employee name.
In the following example, The "Object Name" Column is the "Employee Name" Column. For each element (that is, employee) the TreeTable stamps out the name, ID and the department.
<af:treeTable var="node" value="#{myBean.orgChart.root}">
<f:facet name="nodeStamp">
<af:column>
<f:facet name="header">
<af:outputText value="Employee Name"/>
</f:facet>
<af:outputText value="#{node.ename}"/>
</af:column>
</f:facet>
<af:column>
<f:facet name="header">
<af:outputText value="Employee Id"/>
</f:facet>
<af:outputText value="#{node.empid}"/>
</af:column>
<af:column>
<f:facet name="header">
<af:outputText value="Department"/>
</f:facet>
<af:outputText value="#{node.dname}"/>
</af:column>
</af:treeTable> *This bean is not supported on the following agent types: pda, phone, voice.
| Type | Phases | Description |
|---|---|---|
oracle.adf.view.faces.event.DisclosureAllEvent |
Apply Request Values Invoke Application |
Event delivered when user clicks "expand-all" or "collapse-all" links. This event has an isExpandAll method that returns whether the user wants to show or hide all the subtrees. |
oracle.adf.view.faces.event.FocusEvent |
Apply Request Values Invoke Application |
Event delivered when user clicks to focus on (or zoom into) a particular element's subtree of children. The TreeTable responds to this event by modifying the "focusPath" property appropriately. Subsequently, any registered FocusListener instances are called. |
oracle.adf.view.faces.event.SelectionEvent |
Apply Request Values Invoke Application |
Event delivered when user makes a selection of rows on the table. |
oracle.adf.view.faces.event.DisclosureEvent |
Apply Request Values Invoke Application |
Event delivered when user expands or collapses a subtree. |
| Fields inherited from class oracle.adf.view.faces.component.UIXTreeTable |
DISCLOSURE_ALL_LISTENER_KEY, FOCUS_LISTENER_KEY, RANGE_CHANGE_LISTENER_KEY, ROWS_BY_DEPTH_KEY, SELECTION_LISTENER_KEY |
| Fields inherited from class oracle.adf.view.faces.component.UIXTree |
DISCLOSURE_LISTENER_KEY, FOCUS_ROW_KEY_KEY, IMMEDIATE_KEY, NODE_STAMP_FACET, TREE_STATE_KEY, VALUE_KEY, VAR_KEY, VAR_STATUS_KEY |
| Fields inherited from class oracle.adf.view.faces.component.UIXComponentBase |
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Fields inherited from interface javax.faces.component.NamingContainer |
SEPARATOR_CHAR |
| Constructor Summary | |
|
CoreTreeTable()
Construct an instance of the CoreTreeTable. |
protected |
CoreTreeTable(java.lang.String rendererType)
Construct an instance of the CoreTreeTable. |
| Method Summary | |
UIComponent |
getActions()
the component used for performing treeTable actions that are independent of element selection. |
java.lang.String |
getBanding()
Gets the banding type to use on this table. |
int |
getBandingInterval()
Gets the number of rows in each banding group. |
protected FacesBean.Type |
getBeanType()
|
java.lang.String |
getEmptyText()
Gets the text to display inside this component when it is empty |
java.lang.String |
getFamily()
|
UIComponent |
getFooter()
the component used to render the table footer. |
UIComponent |
getHeader()
the component used to render the table header. |
java.lang.String |
getInlineStyle()
Gets the inline CSS style for this element |
java.lang.String |
getOnclick()
Gets an onclick Javascript handler. |
java.lang.String |
getOndblclick()
Gets an ondblclick Javascript handler. |
java.lang.String |
getOnkeydown()
Gets an onkeydown Javascript handler. |
java.lang.String |
getOnkeypress()
Gets an onkeypress Javascript handler. |
java.lang.String |
getOnkeyup()
Gets an onkeyup Javascript handler. |
java.lang.String |
getOnmousedown()
Gets an onmousedown Javascript handler. |
java.lang.String |
getOnmousemove()
Gets an onmousemove Javascript handler. |
java.lang.String |
getOnmouseout()
Gets an onmouseout Javascript handler. |
java.lang.String |
getOnmouseover()
Gets an onmouseover Javascript handler. |
java.lang.String |
getOnmouseup()
Gets an onmouseup Javascript handler. |
java.lang.String[] |
getPartialTriggers()
Gets the IDs of the components that should trigger a partial update. |
UIComponent |
getPathStamp()
the component used to stamp each step of the focus path of this treeTable. |
UIComponent |
getSelection()
the component used for selecting rows in the treeTable. |
java.lang.String |
getShortDesc()
Gets the short description of the bean. |
java.lang.String |
getStyleClass()
Gets the CSS style class of the bean. |
java.lang.String |
getSummary()
Gets the summary of this table's purpose and structure for user agents rendering to non-visual media. |
java.lang.String |
getWidth()
Gets the width of this component. |
boolean |
isExpandAllEnabled()
Gets Whether the Expand All, Collapse All links should be rendered. |
void |
setActions(UIComponent actionsFacet)
the component used for performing treeTable actions that are independent of element selection. |
void |
setBanding(java.lang.String banding)
Sets the banding type to use on this table. |
void |
setBandingInterval(int bandingInterval)
Sets the number of rows in each banding group. |
void |
setEmptyText(java.lang.String emptyText)
Sets the text to display inside this component when it is empty |
void |
setExpandAllEnabled(boolean expandAllEnabled)
Sets Whether the Expand All, Collapse All links should be rendered. |
void |
setFooter(UIComponent footerFacet)
the component used to render the table footer. |
void |
setHeader(UIComponent headerFacet)
the component used to render the table header. |
void |
setInlineStyle(java.lang.String inlineStyle)
Sets the inline CSS style for this element |
void |
setOnclick(java.lang.String onclick)
Sets an onclick Javascript handler. |
void |
setOndblclick(java.lang.String ondblclick)
Sets an ondblclick Javascript handler. |
void |
setOnkeydown(java.lang.String onkeydown)
Sets an onkeydown Javascript handler. |
void |
setOnkeypress(java.lang.String onkeypress)
Sets an onkeypress Javascript handler. |
void |
setOnkeyup(java.lang.String onkeyup)
Sets an onkeyup Javascript handler. |
void |
setOnmousedown(java.lang.String onmousedown)
Sets an onmousedown Javascript handler. |
void |
setOnmousemove(java.lang.String onmousemove)
Sets an onmousemove Javascript handler. |
void |
setOnmouseout(java.lang.String onmouseout)
Sets an onmouseout Javascript handler. |
void |
setOnmouseover(java.lang.String onmouseover)
Sets an onmouseover Javascript handler. |
void |
setOnmouseup(java.lang.String onmouseup)
Sets an onmouseup Javascript handler. |
void |
setPartialTriggers(java.lang.String[] partialTriggers)
Sets the IDs of the components that should trigger a partial update. |
void |
setPathStamp(UIComponent pathStampFacet)
the component used to stamp each step of the focus path of this treeTable. |
void |
setSelection(UIComponent selectionFacet)
the component used for selecting rows in the treeTable. |
void |
setShortDesc(java.lang.String shortDesc)
Sets the short description of the bean. |
void |
setStyleClass(java.lang.String styleClass)
Sets the CSS style class of the bean. |
void |
setSummary(java.lang.String summary)
Sets the summary of this table's purpose and structure for user agents rendering to non-visual media. |
void |
setWidth(java.lang.String width)
Sets the width of this component. |
| Methods inherited from class oracle.adf.view.faces.component.UIXTree |
addDisclosureListener, createCollectionModel, getDisclosureListener, getDisclosureListeners, getFocusRowKey, getNodeStamp, getSelectionState, getTreeState, getValue, getVar, getVarStatus, isImmediate, queueEvent, removeDisclosureListener, setDisclosureListener, setFocusRowKey, setImmediate, setNodeStamp, setTreeState, setValue, setVar, setVarStatus |
| Methods inherited from class oracle.adf.view.faces.component.UIXHierarchy |
enterContainer, exitContainer, getAllAncestorContainerRowKeys, getContainerRowKey, getContainerRowKey, getDepth, getDepth, getTreeModel, isContainer, isContainerEmpty |
| Methods inherited from class oracle.adf.view.faces.component.UIXCollection |
clearCurrencyStringCache, createVarStatusMap, decodeChildrenImpl, encodeBegin, encodeEnd, getCollectionModel, getCollectionModel, getCurrencyString, getLocalClientId, getRowCount, getRowData, getRowData, getRowIndex, getRowKey, getSortCriteria, isRowAvailable, isRowAvailable, isSortable, postRowDataChange, preRowDataChange, processComponent, processDecodes, processSaveState, resetStampState, setCurrencyString, setRowIndex, setRowKey, setSortCriteria, updateChildrenImpl, validateChildrenImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface oracle.adf.view.faces.model.RowKeyIndex |
getRowCount, getRowData, getRowData, getRowIndex, getRowKey, isRowAvailable, isRowAvailable, setRowIndex, setRowKey |
| Field Detail |
public static final java.lang.String BANDING_ROW
public static final java.lang.String BANDING_NONE
public static final java.lang.String BANDING_COLUMN
public static final FacesBean.Type TYPE
public static final PropertyKey EXPAND_ALL_ENABLED_KEY
public static final PropertyKey SHORT_DESC_KEY
public static final PropertyKey PARTIAL_TRIGGERS_KEY
public static final PropertyKey ONCLICK_KEY
public static final PropertyKey ONDBLCLICK_KEY
public static final PropertyKey ONMOUSEDOWN_KEY
public static final PropertyKey ONMOUSEUP_KEY
public static final PropertyKey ONMOUSEOVER_KEY
public static final PropertyKey ONMOUSEMOVE_KEY
public static final PropertyKey ONMOUSEOUT_KEY
public static final PropertyKey ONKEYPRESS_KEY
public static final PropertyKey ONKEYDOWN_KEY
public static final PropertyKey ONKEYUP_KEY
public static final PropertyKey STYLE_CLASS_KEY
public static final PropertyKey INLINE_STYLE_KEY
public static final PropertyKey WIDTH_KEY
public static final PropertyKey EMPTY_TEXT_KEY
public static final PropertyKey SUMMARY_KEY
public static final PropertyKey BANDING_KEY
public static final PropertyKey BANDING_INTERVAL_KEY
public static final java.lang.String ACTIONS_FACET
public static final java.lang.String PATH_STAMP_FACET
public static final java.lang.String FOOTER_FACET
public static final java.lang.String HEADER_FACET
public static final java.lang.String SELECTION_FACET
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
public CoreTreeTable()
protected CoreTreeTable(java.lang.String rendererType)
| Method Detail |
public final UIComponent getActions()
public final void setActions(UIComponent actionsFacet)
public final UIComponent getPathStamp()
public final void setPathStamp(UIComponent pathStampFacet)
public final UIComponent getFooter()
public final void setFooter(UIComponent footerFacet)
public final UIComponent getHeader()
public final void setHeader(UIComponent headerFacet)
public final UIComponent getSelection()
public final void setSelection(UIComponent selectionFacet)
public final boolean isExpandAllEnabled()
public final void setExpandAllEnabled(boolean expandAllEnabled)
public final java.lang.String getShortDesc()
public final void setShortDesc(java.lang.String shortDesc)
public final java.lang.String[] getPartialTriggers()
public final void setPartialTriggers(java.lang.String[] partialTriggers)
public final java.lang.String getOnclick()
public final void setOnclick(java.lang.String onclick)
public final java.lang.String getOndblclick()
public final void setOndblclick(java.lang.String ondblclick)
public final java.lang.String getOnmousedown()
public final void setOnmousedown(java.lang.String onmousedown)
public final java.lang.String getOnmouseup()
public final void setOnmouseup(java.lang.String onmouseup)
public final java.lang.String getOnmouseover()
public final void setOnmouseover(java.lang.String onmouseover)
public final java.lang.String getOnmousemove()
public final void setOnmousemove(java.lang.String onmousemove)
public final java.lang.String getOnmouseout()
public final void setOnmouseout(java.lang.String onmouseout)
public final java.lang.String getOnkeypress()
public final void setOnkeypress(java.lang.String onkeypress)
public final java.lang.String getOnkeydown()
public final void setOnkeydown(java.lang.String onkeydown)
public final java.lang.String getOnkeyup()
public final void setOnkeyup(java.lang.String onkeyup)
public final java.lang.String getStyleClass()
public final void setStyleClass(java.lang.String styleClass)
public final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
public final java.lang.String getWidth()
public final void setWidth(java.lang.String width)
public final java.lang.String getEmptyText()
public final void setEmptyText(java.lang.String emptyText)
public final java.lang.String getSummary()
public final void setSummary(java.lang.String summary)
public final java.lang.String getBanding()
public final void setBanding(java.lang.String banding)
public final int getBandingInterval()
public final void setBandingInterval(int bandingInterval)
public java.lang.String getFamily()
getFamily in class UIXTreeTableprotected FacesBean.Type getBeanType()
getBeanType in class UIXTreeTable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||