|
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.layout.ContentContainerBean
This bean is not supported on the following agent types: pda.
The ContentContainer is used to place ancillary information on a page, offset by a certain color.
There are four possible attributes to set for the content container. The width of the container can be set to either an exact pixel size or a percentage of the element the content container is within.
Content containers can have headers and icons. Set the text and icon attributes to gain these items. If neither is set, the content container will only display its children. If there is a header but no icon, the header will show and the content will be offset to line up with the start of the header. If an icon is set, the icon will appear to the left of the header, but the content will still be offset to the left of the header. If an icon is set but no header, the icon will still be displayed on the left but no header text will be visible.
Content containers can have light, medium, or dark appearances. Set the background attribute to BACKGROUND_LIGHT, BACKGROUND_MEDIUM,or BACKGROUND_DARK to specify which appearance the container should have. The default is if no background is set. Note that the appearance affects the color of the background, border, header, and header line.
Content containers will generally have only one child with the actual contents as its children. This child will describe how the content should be displayed. However, the content container can have multiple children, in which case the children are displayed in a stack fashion, lined up vertically.
<contentContainer text="Header" background="medium" icon="images/info.gif" width="25%" > <contents> <bulletedList> <contents> <link text="point 1" destination="http://www.oracle.com"/> <link text="point 2" destination="http://www.oracle.com"/> <link text="point 3" destination="http://www.oracle.com"/> <link text="point 4" destination="http://www.oracle.com"/> <link text="point 5" destination="http://www.oracle.com"/> </contents> </bulletedList> </contents> </contentContainer>
UIConstants
Constructor Summary | |
|
ContentContainerBean()
Construct an instance of the ContentContainerBean. |
protected |
ContentContainerBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ContentContainerBean. |
|
ContentContainerBean(java.lang.String width,
java.lang.String background,
java.lang.String text,
java.lang.String icon)
Construct an instance of the ContentContainerBean. |
Method Summary | |
java.lang.String |
getBackground()
Gets the appearance type of the content container. |
static java.lang.String |
getBackground(MutableUINode bean)
Gets the appearance type of the content container. |
java.lang.String |
getIcon()
Gets A anyURI to an image to use for the icon of the content container. |
static java.lang.String |
getIcon(MutableUINode bean)
Gets A anyURI to an image to use for the icon of the content container. |
java.lang.String |
getText()
Gets The header of the content container. |
static java.lang.String |
getText(MutableUINode bean)
Gets The header of the content container. |
java.lang.String |
getWidth()
Gets the width of the content container in pixels or as a percentage. |
static java.lang.String |
getWidth(MutableUINode bean)
Gets the width of the content container in pixels or as a percentage. |
static void |
setBackground(MutableUINode bean,
java.lang.String background)
Sets the appearance type of the content container. |
void |
setBackground(java.lang.String background)
Sets the appearance type of the content container. |
void |
setBackgroundBinding(BoundValue boundValue)
Binds the the appearance type of the content container. |
static void |
setBackgroundBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the appearance type of the content container. |
static void |
setBackgroundBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the appearance type of the content container. |
static void |
setBackgroundBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the appearance type of the content container. |
void |
setBackgroundBinding(java.lang.Object selectKey)
Binds the the appearance type of the content container. |
void |
setBackgroundBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the appearance type of the content container. |
static void |
setIcon(MutableUINode bean,
java.lang.String icon)
Sets A anyURI to an image to use for the icon of the content container. |
void |
setIcon(java.lang.String icon)
Sets A anyURI to an image to use for the icon of the content container. |
void |
setIconBinding(BoundValue boundValue)
Binds the A anyURI to an image to use for the icon of the content container. |
static void |
setIconBinding(MutableUINode bean,
BoundValue boundValue)
Binds the A anyURI to an image to use for the icon of the content container. |
static void |
setIconBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the A anyURI to an image to use for the icon of the content container. |
static void |
setIconBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the A anyURI to an image to use for the icon of the content container. |
void |
setIconBinding(java.lang.Object selectKey)
Binds the A anyURI to an image to use for the icon of the content container. |
void |
setIconBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the A anyURI to an image to use for the icon of the content container. |
static void |
setText(MutableUINode bean,
java.lang.String text)
Sets The header of the content container. |
void |
setText(java.lang.String text)
Sets The header of the content container. |
void |
setTextBinding(BoundValue boundValue)
Binds the The header of the content container. |
static void |
setTextBinding(MutableUINode bean,
BoundValue boundValue)
Binds the The header of the content container. |
static void |
setTextBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the The header of the content container. |
static void |
setTextBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The header of the content container. |
void |
setTextBinding(java.lang.Object selectKey)
Binds the The header of the content container. |
void |
setTextBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the The header of the content container. |
static void |
setTranslatableText(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the The header of the content container. |
void |
setTranslatableText(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the The header of the content container. |
static void |
setWidth(MutableUINode bean,
java.lang.String width)
Sets the width of the content container in pixels or as a percentage. |
void |
setWidth(java.lang.String width)
Sets the width of the content container in pixels or as a percentage. |
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 ContentContainerBean()
public ContentContainerBean(java.lang.String width, java.lang.String background, java.lang.String text, java.lang.String icon)
width
- the width of the content container in pixels or
as a percentage.background
- the appearance type of the content
container.text
- The header of the content container.icon
- A anyURI to an image to use for the icon of
the content container.protected ContentContainerBean(boolean ignored, java.lang.String localName)
Method Detail |
public final java.lang.String getWidth()
public final void setWidth(java.lang.String width)
public final java.lang.String getBackground()
public final void setBackground(java.lang.String background)
public final void setBackgroundBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setBackgroundBinding(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 setBackgroundBinding(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 final java.lang.String getText()
public final void setText(java.lang.String text)
public final void setTranslatableText(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 void setTextBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setTextBinding(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 setTextBinding(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 final java.lang.String getIcon()
public final void setIcon(java.lang.String icon)
public final void setIconBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setIconBinding(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 setIconBinding(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 java.lang.String getWidth(MutableUINode bean)
public static void setWidth(MutableUINode bean, java.lang.String width)
public static java.lang.String getBackground(MutableUINode bean)
public static void setBackground(MutableUINode bean, java.lang.String background)
public static void setBackgroundBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setBackgroundBinding(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 setBackgroundBinding(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
.public static java.lang.String getText(MutableUINode bean)
public static void setText(MutableUINode bean, java.lang.String text)
public static void setTranslatableText(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 void setTextBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setTextBinding(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 setTextBinding(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
.public static java.lang.String getIcon(MutableUINode bean)
public static void setIcon(MutableUINode bean, java.lang.String icon)
public static void setIconBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setIconBinding(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 setIconBinding(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 |