|
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.DataScopeBean
DataScope is a bean that can be used to register UIX Component DataProviders for a UINode subtree. Any requests for data by any children of this bean are first handled by any DataProviders registered on this bean before using other providers.
<dataScope data:currentData="formData@dat1"> <contents> <form name="form1"> <contents> <header data:text="headerText"> <contents> <radioGroup data:selectedValue="color" name="color" data:text="name" data:value="value" data:childData="rad@dat1"/> <html:br/> <messageTextInput name="stone" prompt="Enter Stone" data:text="stone" /> <html:br/> <submitButton text="Submit" /> </contents> </header> </contents> </form> </contents> <provider> <data name="dat1"> <inline> <formData headerText="Enter Form Data" color="00FF00" stone="Jade" /> <rad name="Red" value="FF0000" /> <rad name="Green" value="00FF00" /> <rad name="Blue" value="0000FF" /> </inline> </data> </provider> </dataScope>
Constructor Summary | |
|
DataScopeBean()
Construct an instance of the DataScopeBean. |
protected |
DataScopeBean(boolean ignored,
java.lang.String localName)
Construct an instance of the DataScopeBean. |
Method Summary | |
DataObject |
getCurrentData()
Gets The current data object for all the children of this DataScope. |
static DataObject |
getCurrentData(MutableUINode bean)
Gets The current data object for all the children of this DataScope. |
DataProvider |
getProvider()
Gets Data providers that will serve child-node requests for data. |
static DataProvider |
getProvider(MutableUINode bean)
Gets Data providers that will serve child-node requests for data. |
void |
setCurrentData(DataObject currentData)
Sets The current data object for all the children of this DataScope. |
void |
setCurrentData(DataObject currentData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
static void |
setCurrentData(MutableUINode bean,
DataObject currentData)
Sets The current data object for all the children of this DataScope. |
static void |
setCurrentData(MutableUINode bean,
DataObject currentData)
Deprecated. since 2.0; please use the non-deprecated version of this function. |
void |
setCurrentDataBinding(BoundValue boundValue)
Binds the The current data object for all the children of this DataScope. |
static void |
setCurrentDataBinding(MutableUINode bean,
BoundValue boundValue)
Binds the The current data object for all the children of this DataScope. |
static void |
setCurrentDataBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the The current data object for all the children of this DataScope. |
static void |
setCurrentDataBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The current data object for all the children of this DataScope. |
void |
setCurrentDataBinding(java.lang.Object selectKey)
Binds the The current data object for all the children of this DataScope. |
void |
setCurrentDataBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The current data object for all the children of this DataScope. |
void |
setProvider(DataProvider provider)
Sets Data providers that will serve child-node requests for data. |
static void |
setProvider(MutableUINode bean,
DataProvider provider)
Sets Data providers that will serve child-node requests for data. |
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, getID, 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, getID, getIndexedChild, getIndexedChild, getIndexedChildCount, getLocalName, getNamedChild, getNamedChild, getNamespaceURI, getNodeID, getNodeRole, getRawAttributeValue, render, render |
Constructor Detail |
public DataScopeBean()
protected DataScopeBean(boolean ignored, java.lang.String localName)
Method Detail |
public final DataProvider getProvider()
public final void setProvider(DataProvider provider)
public final DataObject getCurrentData()
public final void setCurrentData(DataObject currentData)
public final void setCurrentData(DataObject currentData)
public final void setCurrentDataBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setCurrentDataBinding(java.lang.Object selectKey)
selectKey
- the key to be passed to selectValue()
on the
current DataObject
, e.g., the DataObject for the current
table row.public final void setCurrentDataBinding(java.lang.String dataNamespace, java.lang.String dataName, java.lang.Object selectKey)
dataNamespace
- the namespace to be passed to
RenderingContext.getDataObject()
dataName
- the name to be passed to
RenderingContext.getDataObject()
selectKey
- the key to be passed to selectValue()
on the
DataObject
.public static DataProvider getProvider(MutableUINode bean)
public static void setProvider(MutableUINode bean, DataProvider provider)
public static DataObject getCurrentData(MutableUINode bean)
public static void setCurrentData(MutableUINode bean, DataObject currentData)
public static void setCurrentData(MutableUINode bean, DataObject currentData)
public static void setCurrentDataBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setCurrentDataBinding(MutableUINode bean, java.lang.Object selectKey)
selectKey
- the key to be passed to selectValue()
on the
current DataObject
, e.g., the DataObject for the current
table row.public static void setCurrentDataBinding(MutableUINode bean, java.lang.String dataNamespace, java.lang.String dataName, java.lang.Object selectKey)
dataNamespace
- the namespace to be passed to
RenderingContext.getDataObject()
dataName
- the name to be passed to
RenderingContext.getDataObject()
selectKey
- the key to be passed to selectValue()
on the
DataObject
.
|
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 |