|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.ui.DeprecatedUINode | +--oracle.cabo.ui.BaseUINode | +--oracle.cabo.ui.BaseMutableUINode | +--oracle.cabo.ui.beans.BaseWebBean | +--oracle.cabo.ui.beans.MarlinBean | +--oracle.cabo.ui.beans.table.HGridBean
This bean is not supported on the following agent types: pda.
The HGridBean
is used to display objects in a
hierarchical format, much like the TreeBean
. The
HGrid renders like a TableBean
; each row
coresponds to a tree node. It has two special columns: the focus column
and the object hierarchy column. The object hierarchy column identifies
the current tree node and allows the user to expand (view the children
of) or collapse (hide the children of) this node. The focus column is
used to select a new root for the tree. This allows users to zoom into
subtrees of a massive tree. The HGrid renders bread crumbs to allow the
user to focus out (or zoom out) of the current subtree. The HGrid also
renders links to allow the user to quickly expand or collapse all the
nodes under the current focus root.
TreeBean
. However, the root of the HGrid is a
DataObject
, as opposed to a
DataObjectList
. This root is specified by
binding the treeData
attribute. Incidentally,
the HGrid querries each DataObject (that represents a tree node) with
the same keys as the TreeBean.
As in the TreeBean
, a
nodeStamp
may be used to render the contents of
the object hierarchy column. The column header for this object
hierarchy column is defaulted to Name. However, it can
be changed by setting a ColumnBean
as the
nodeStamp
and by setting a
columnHeader
child on that
ColumnBean
.
To make the HGrid come "alive" a proxy object must be bound to
it. Refer to the TreeBean
for an explanation of
the proxy. On the HGrid the proxy must be of type
oracle.cabo.ui.data.tree.HGridDataProxy
and is
bound using the proxy
attribute. See
oracle.cabo.ui.data.tree.ClientStateHGridDataProxy
for an instance of such a proxy.
TableBean
. The column headers are declared
using the columnHeaderData
attribute and the
columnHeaderStamp
child. The column values are
set as indexed children (the contents) of the HGrid. Various format
options may be set using the tableFormat
,
columnFormats
and
columnHeaderFormats
attributes. Please refer to
the TableBean
documentation for detailed
descriptions of these attributes. Also note that while formatting
options for rows are supported on the TableBean
they are not supported on the HGrid.
<hGrid id="hg1"> <treeData> <nodes text="Root"> <nodes text="Child 1"/> <nodes text="Child 2"/> </nodes> </treeData> </hGrid>
TableBean
,
TreeBean
,
ClientStateHGridDataProxy
,
HGridDataProxy
Constructor Summary | |
|
HGridBean()
Construct an instance of the HGridBean. |
protected |
HGridBean(boolean ignored,
java.lang.String localName)
Construct an instance of the HGridBean. |
Method Summary | |
java.lang.String |
getAlternateText()
Gets the text to display inside an empty HGrid. |
static java.lang.String |
getAlternateText(MutableUINode bean)
Gets the text to display inside an empty HGrid. |
DataObjectList |
getColumnFormats()
Gets the formatting information for each column. |
static DataObjectList |
getColumnFormats(MutableUINode bean)
Gets the formatting information for each column. |
DataObjectList |
getColumnHeaderData()
Gets The data for the column header. |
static DataObjectList |
getColumnHeaderData(MutableUINode bean)
Gets The data for the column header. |
DataObjectList |
getColumnHeaderFormats()
Gets the formatting information for each column. |
static DataObjectList |
getColumnHeaderFormats(MutableUINode bean)
Gets the formatting information for each column. |
UINode |
getColumnHeaderStamp()
Node to use to render each column header. |
static UINode |
getColumnHeaderStamp(MutableUINode bean)
Node to use to render each column header. |
java.lang.String |
getDestination()
Gets the base destination for all links generated by the hGrid. |
static java.lang.String |
getDestination(MutableUINode bean)
Gets the base destination for all links generated by the hGrid. |
UINode |
getNodeStamp()
UINode to render at each tree node. |
static UINode |
getNodeStamp(MutableUINode bean)
UINode to render at each tree node. |
HGridDataProxy |
getProxy()
Gets A proxy that sits between tree nodes and the expanded state, selection state, focus state and children of those nodes. |
static HGridDataProxy |
getProxy(MutableUINode bean)
Gets A proxy that sits between tree nodes and the expanded state, selection state, focus state and children of those nodes. |
java.lang.String |
getSummary()
Gets The summary of the table's purpose and structure for user agents rendering to non-visual media. |
static java.lang.String |
getSummary(MutableUINode bean)
Gets The summary of the table's purpose and structure for user agents rendering to non-visual media. |
DataObject |
getTableFormat()
Gets formatting information for the entire table. |
static DataObject |
getTableFormat(MutableUINode bean)
Gets formatting information for the entire table. |
UINode |
getTableSelection()
Turns on selection in the Table. |
static UINode |
getTableSelection(MutableUINode bean)
Turns on selection in the Table. |
DataObject |
getTreeData()
Gets The data for the HGrid. |
static DataObject |
getTreeData(MutableUINode bean)
Gets The data for the HGrid. |
java.lang.String |
getWidth()
Gets the width of the HGrid. |
static java.lang.String |
getWidth(MutableUINode bean)
Gets the width of the HGrid. |
boolean |
isFormSubmitted()
Gets whether or not to use form sumission in the links generated by the hGrid's proxy. |
static boolean |
isFormSubmitted(MutableUINode bean)
Gets whether or not to use form sumission in the links generated by the hGrid's proxy. |
boolean |
isNameTransformed()
Gets Deprecated since 2.1.11. |
static boolean |
isNameTransformed(MutableUINode bean)
Gets Deprecated since 2.1.11. |
boolean |
isProxied()
Gets whether or not the HGrid should include Javascript proxy code when rendering on the client. |
static boolean |
isProxied(MutableUINode bean)
Gets whether or not the HGrid should include Javascript proxy code when rendering on the client. |
boolean |
isUnvalidated()
Gets whether or not to validate before any form submits generated by this hGrid's proxy. |
static boolean |
isUnvalidated(MutableUINode bean)
Gets whether or not to validate before any form submits generated by this hGrid's proxy. |
static void |
setAlternateText(MutableUINode bean,
java.lang.String alternateText)
Sets the text to display inside an empty HGrid. |
void |
setAlternateText(java.lang.String alternateText)
Sets the text to display inside an empty HGrid. |
void |
setColumnFormats(DataObjectList columnFormats)
Sets the formatting information for each column. |
void |
setColumnFormats(DataObjectList columnFormats)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setColumnFormats(MutableUINode bean,
DataObjectList columnFormats)
Sets the formatting information for each column. |
static void |
setColumnFormats(MutableUINode bean,
DataObjectList columnFormats)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
void |
setColumnHeaderData(DataObjectList columnHeaderData)
Sets The data for the column header. |
void |
setColumnHeaderData(DataObjectList columnHeaderData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setColumnHeaderData(MutableUINode bean,
DataObjectList columnHeaderData)
Sets The data for the column header. |
static void |
setColumnHeaderData(MutableUINode bean,
DataObjectList columnHeaderData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
void |
setColumnHeaderFormats(DataObjectList columnHeaderFormats)
Sets the formatting information for each column. |
void |
setColumnHeaderFormats(DataObjectList columnHeaderFormats)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setColumnHeaderFormats(MutableUINode bean,
DataObjectList columnHeaderFormats)
Sets the formatting information for each column. |
static void |
setColumnHeaderFormats(MutableUINode bean,
DataObjectList columnHeaderFormats)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setColumnHeaderStamp(MutableUINode bean,
UINode columnHeaderStampNode)
Node to use to render each column header. |
void |
setColumnHeaderStamp(UINode columnHeaderStampNode)
Node to use to render each column header. |
static void |
setDestination(MutableUINode bean,
java.lang.String destination)
Sets the base destination for all links generated by the hGrid. |
void |
setDestination(java.lang.String destination)
Sets the base destination for all links generated by the hGrid. |
void |
setFormSubmitted(boolean formSubmitted)
Sets whether or not to use form sumission in the links generated by the hGrid's proxy. |
static void |
setFormSubmitted(MutableUINode bean,
boolean formSubmitted)
Sets whether or not to use form sumission in the links generated by the hGrid's proxy. |
void |
setNameTransformed(boolean nameTransformed)
Sets Deprecated since 2.1.11. |
static void |
setNameTransformed(MutableUINode bean,
boolean nameTransformed)
Sets Deprecated since 2.1.11. |
static void |
setNodeStamp(MutableUINode bean,
UINode nodeStampNode)
UINode to render at each tree node. |
void |
setNodeStamp(UINode nodeStampNode)
UINode to render at each tree node. |
void |
setProxied(boolean proxied)
Sets whether or not the HGrid should include Javascript proxy code when rendering on the client. |
static void |
setProxied(MutableUINode bean,
boolean proxied)
Sets whether or not the HGrid should include Javascript proxy code when rendering on the client. |
void |
setProxy(HGridDataProxy proxy)
Sets A proxy that sits between tree nodes and the expanded state, selection state, focus state and children of those nodes. |
static void |
setProxy(MutableUINode bean,
HGridDataProxy proxy)
Sets A proxy that sits between tree nodes and the expanded state, selection state, focus state and children of those nodes. |
static void |
setSummary(MutableUINode bean,
java.lang.String summary)
Sets The summary of the table's purpose and structure for user agents rendering to non-visual media. |
void |
setSummary(java.lang.String summary)
Sets The summary of the table's purpose and structure for user agents rendering to non-visual media. |
void |
setTableFormat(DataObject tableFormat)
Sets formatting information for the entire table. |
void |
setTableFormat(DataObject tableFormat)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setTableFormat(MutableUINode bean,
DataObject tableFormat)
Sets formatting information for the entire table. |
static void |
setTableFormat(MutableUINode bean,
DataObject tableFormat)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setTableSelection(MutableUINode bean,
UINode tableSelectionNode)
Turns on selection in the Table. |
void |
setTableSelection(UINode tableSelectionNode)
Turns on selection in the Table. |
static void |
setTranslatableAlternateText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the text to display inside an empty HGrid. |
void |
setTranslatableAlternateText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the text to display inside an empty HGrid. |
static void |
setTranslatableSummary(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the The summary of the table's purpose and structure for user agents rendering to non-visual media. |
void |
setTranslatableSummary(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the The summary of the table's purpose and structure for user agents rendering to non-visual media. |
void |
setTreeData(DataObject treeData)
Sets The data for the HGrid. |
void |
setTreeData(DataObject treeData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setTreeData(MutableUINode bean,
DataObject treeData)
Sets The data for the HGrid. |
static void |
setTreeData(MutableUINode bean,
DataObject treeData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
void |
setUnvalidated(boolean unvalidated)
Sets whether or not to validate before any form submits generated by this hGrid's proxy. |
static void |
setUnvalidated(MutableUINode bean,
boolean unvalidated)
Sets whether or not to validate before any form submits generated by this hGrid's proxy. |
static void |
setWidth(MutableUINode bean,
java.lang.String width)
Sets the width of the HGrid. |
void |
setWidth(java.lang.String width)
Sets the width of the HGrid. |
Methods inherited from class oracle.cabo.ui.beans.MarlinBean |
isEqualMarlinName |
Methods inherited from class oracle.cabo.ui.BaseUINode |
getAttributeNames, getAttributeValue, getAttributeValueImpl, getChildArray, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getPreorderDescendentAttributeValue, getRawAttributeValue, getRenderedUINode, getRenderer, getRenderer, render, render, toString |
Methods inherited from class oracle.cabo.ui.DeprecatedUINode |
getAttributeValue, getChildNames, getNamedChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface oracle.cabo.ui.UINode |
getAttributeNames, getAttributeValue, getAttributeValue, getChildNames, getChildNames, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public HGridBean()
protected HGridBean(boolean ignored, java.lang.String localName)
Method Detail |
public final UINode getColumnHeaderStamp()
public final void setColumnHeaderStamp(UINode columnHeaderStampNode)
public final UINode getTableSelection()
public final void setTableSelection(UINode tableSelectionNode)
public final UINode getNodeStamp()
public final void setNodeStamp(UINode nodeStampNode)
public final DataObject getTableFormat()
public final void setTableFormat(DataObject tableFormat)
public final void setTableFormat(DataObject tableFormat)
public final DataObjectList getColumnFormats()
public final void setColumnFormats(DataObjectList columnFormats)
public final void setColumnFormats(DataObjectList columnFormats)
public final DataObjectList getColumnHeaderFormats()
public final void setColumnHeaderFormats(DataObjectList columnHeaderFormats)
public final void setColumnHeaderFormats(DataObjectList columnHeaderFormats)
public final HGridDataProxy getProxy()
public final void setProxy(HGridDataProxy proxy)
public final DataObject getTreeData()
public final void setTreeData(DataObject treeData)
public final void setTreeData(DataObject treeData)
public final DataObjectList getColumnHeaderData()
public final void setColumnHeaderData(DataObjectList columnHeaderData)
public final void setColumnHeaderData(DataObjectList columnHeaderData)
public final java.lang.String getWidth()
public final void setWidth(java.lang.String width)
public final java.lang.String getAlternateText()
public final void setAlternateText(java.lang.String alternateText)
public final void setTranslatableAlternateText(java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic final java.lang.String getSummary()
text
attribute will be used.public final void setSummary(java.lang.String summary)
text
attribute will be used.public final void setTranslatableSummary(java.lang.String bundleName, java.lang.String key)
text
attribute will be used.bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic final java.lang.String getDestination()
public final void setDestination(java.lang.String destination)
public final boolean isFormSubmitted()
public final void setFormSubmitted(boolean formSubmitted)
public final boolean isUnvalidated()
formSubmitted
mode.public final void setUnvalidated(boolean unvalidated)
formSubmitted
mode.public final boolean isProxied()
public final void setProxied(boolean proxied)
public final boolean isNameTransformed()
public final void setNameTransformed(boolean nameTransformed)
public static UINode getColumnHeaderStamp(MutableUINode bean)
public static void setColumnHeaderStamp(MutableUINode bean, UINode columnHeaderStampNode)
public static UINode getTableSelection(MutableUINode bean)
public static void setTableSelection(MutableUINode bean, UINode tableSelectionNode)
public static UINode getNodeStamp(MutableUINode bean)
public static void setNodeStamp(MutableUINode bean, UINode nodeStampNode)
public static DataObject getTableFormat(MutableUINode bean)
public static void setTableFormat(MutableUINode bean, DataObject tableFormat)
public static void setTableFormat(MutableUINode bean, DataObject tableFormat)
public static DataObjectList getColumnFormats(MutableUINode bean)
public static void setColumnFormats(MutableUINode bean, DataObjectList columnFormats)
public static void setColumnFormats(MutableUINode bean, DataObjectList columnFormats)
public static DataObjectList getColumnHeaderFormats(MutableUINode bean)
public static void setColumnHeaderFormats(MutableUINode bean, DataObjectList columnHeaderFormats)
public static void setColumnHeaderFormats(MutableUINode bean, DataObjectList columnHeaderFormats)
public static HGridDataProxy getProxy(MutableUINode bean)
public static void setProxy(MutableUINode bean, HGridDataProxy proxy)
public static DataObject getTreeData(MutableUINode bean)
public static void setTreeData(MutableUINode bean, DataObject treeData)
public static void setTreeData(MutableUINode bean, DataObject treeData)
public static DataObjectList getColumnHeaderData(MutableUINode bean)
public static void setColumnHeaderData(MutableUINode bean, DataObjectList columnHeaderData)
public static void setColumnHeaderData(MutableUINode bean, DataObjectList columnHeaderData)
public static java.lang.String getWidth(MutableUINode bean)
public static void setWidth(MutableUINode bean, java.lang.String width)
public static java.lang.String getAlternateText(MutableUINode bean)
public static void setAlternateText(MutableUINode bean, java.lang.String alternateText)
public static void setTranslatableAlternateText(MutableUINode bean, java.lang.String bundleName, java.lang.String key)
bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic static java.lang.String getSummary(MutableUINode bean)
text
attribute will be used.public static void setSummary(MutableUINode bean, java.lang.String summary)
text
attribute will be used.public static void setTranslatableSummary(MutableUINode bean, java.lang.String bundleName, java.lang.String key)
text
attribute will be used.bundleName
- the name of the ResourceBundlekey
- the key of the string to retrieve from the ResourceBundlepublic static java.lang.String getDestination(MutableUINode bean)
public static void setDestination(MutableUINode bean, java.lang.String destination)
public static boolean isFormSubmitted(MutableUINode bean)
public static void setFormSubmitted(MutableUINode bean, boolean formSubmitted)
public static boolean isUnvalidated(MutableUINode bean)
formSubmitted
mode.public static void setUnvalidated(MutableUINode bean, boolean unvalidated)
formSubmitted
mode.public static boolean isProxied(MutableUINode bean)
public static void setProxied(MutableUINode bean, boolean proxied)
public static boolean isNameTransformed(MutableUINode bean)
public static void setNameTransformed(MutableUINode bean, boolean nameTransformed)
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |