|
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.form.ShuttleBean
This bean is not supported on the following agent types: pda.
The ShuttleBean provides a mechanism for moving items between two lists and reordering one of these lists. Often the shuttle will be used to select items from one list by placing them in the other. However, the shuttle can be used to operate on lists in other ways as well.
The shuttle is required to have a name, from which the
names of elements within the shuttle are derived. Set the
NAME_ATTR
attribute to the name of the shuttle.
Each list in the shuttle is required to have a header, the
text of which should be set as the
LEADING_HEADER_ATTR
and the TRAILING_HEADER_ATTR
.
Each container in the shuttle can have an area to display item
descriptions below the list. To indicate whether or not
a container should have such an area set the attributes
LEADING_DESC_SHOWN_ATTR
and the TRAILING_DESC_SHOWN_ATTR
.
By default the trailing list of the shuttle has reorder
icons next to it. To remove these icons so that the list
cannot be reordered with them, set the
REORDERABLE_ATTR
to false.
To set the height of both lists in number of items, set
the attribute SIZE_ATTR
.
Note that the size must be between 10 and 20 items. If
the attribute is not set, a size is determined based on
the lengths of both lists and the minimum and maximum
values.
The shuttle requires that two of its named children be
specified. These are the LEADING_CHILD
and the TRAILING_CHILD
.
Both children must be ListBeans which have the list
contents (OptionBeans) as children. The leading child can
be thought of as the "from" list and the trailing child as
the "to" list when the shuttle is used to select items
from a list. The shuttle has no indexed children.
The main function of the shuttle is to move items from one list to the other. The user can select one or multiple items in one list and, by choosing the appropriate icon between the lists, can move the items between lists. Clicking the "Move" icon or link moves the selected items in the leading list to the trailing list. Clicking the "Remove" icon or link moves the selected items in the trailing list to the leading list. Clicking the "Move All" icon or link moves all the items in the leading list to the trailing list. Clicking the "Remove All" icon or link moves all the items in the trailing list to the leading list.
The shuttle also allows the reordering of the trailing list. Using the icons on the side of the trailing list, one can move the selected items up to the top of the list, up one slot in the list, down to the bottom of the list, or down one slot in the list.
Note that when displayed, the lists will have a horizontal line below all items in the list. This additional item is present to maintain correct sizing of the lists; it cannot be acted upon like the other items in the lists.
The shuttle allows the user to place buttons (ButtonBean)
or icons (ImageBean) below each of the lists. These
buttons or icons will take up only one row below the lists
(no wrapping), and can have a maximum height of 26 pixels
if the layout of the shuttle is to remain consistent. The
buttons and icons should be placed within a
FlowLayoutBean, and the layout bean should be added to the
shuttle as the LEADING_FOOTER_CHILD
or the TRAILING_FOOTER_CHILD
depending on which list the buttons should go under.
Leave the appropriate named child as null if no footer is
required under a list. These buttons and icons can be
used to perform operations upon the shuttle using a
ShuttleProxy as described below.
The shuttle allows the user to place a filter above the
list in the leading container. The filter is added as the
FILTER_CHILD
. The filter can be used to perform operations
upon the shuttle using a ShuttleProxy as described below.
The shuttle is used when the contents (the options) of each list, not the selected items in the lists, are required upon submission. The contents of each list are stored as the value of hidden elements within the shuttle. These are passed along when the form is submitted through "-shuttleName-:Leading:items" and "-shuttleName-:Trailing:items," where -shuttleName- is the name given to the shuttle through its NAME_ATTR attribute. Each option is separated by a semicolon (;). The final option is also followed by a semicolon. The order of the options is consistent with their order in the lists. Each option is identified by it's value. If no value is set, the text of the option is given instead.
In some cases, developers will need to use JavaScript to manipulate or use the contents of the lists. This may be required as actions for the buttons or icons in the shuttle footers or outside the shuttle all together. Thus, a set of Javascript utility methods are available that operate on the lists. These are located in the shuttle.js Javascript library, which is automatically loaded if you use the shuttle.
These methods can be accessed by creating a
ShuttleProxy
instance based on the
shuttle name and form name.
// create the proxy object var proxy2 = new ShuttleProxy("testShuttle2", "testForm2");
Once the proxy is created, you can use it to gain information about the lists or to manipulate the lists in the shuttle. The proxy provides the following functions:
move(fromLeadingList, allItems)
: moves items from
one list to the other. If fromLeadingList
is true, the items
move from the leading list to the trailing list. If
fromLeadingList
is false, the items move the opposite
direction. If allItems
is true, all the items are moved,
otherwise only the selected items are moved.reorderList(down, allTheWay, leadingList)
: reorders
a list. If down
is true, the items move down in the list,
otherwise they move up. If allTheWay
is true, the items move
all the way to the top or bottom of the list depending on the value of
down
. If leadingList
is true, the leading list
is reordered, otherwise the trailing list is reordered.getItems(leadingList)
: returns an array of
option
objects that make up a list. If leadingList
is true, the array has the leading list's options, otherwise the items
are from the trailing list. Note that the array will not include the
horizontal bar at the end of the lists.getSelectedItems(leadingList)
: returns an array of
option
objects that are selected in a list. If
leadingList
is true, the array has the leading list's options,
otherwise the items are from the trailingList. Note that the array will not
include the horizontal bar at the end of the lists.getItemCount(leadingList)
: returns the number of
items in a list. If leadingList
is true, the number returned
is the number of items in the leading list. Otherwise, the number returned
is the number of items in the trailing list. Note that the horizontal bar
at the end of the lists is not included in this count -- you only get the
number of actual items.getSelectedItemCount(leadingList)
: returns the number
of selected items in a list. If leadingList
is true, the
number returned is the number of selected items in the leading list.
Otherwise, the number returned is the number of selected items in the
trailing list. Note that the horizontal bar at the end of the lists is not
included in this count -- you only get the number of actual items.addItem(leadingList, index, text, value, description)
: adds an item
at the given index to a list. The item is added to the leading list if
leadingList
is true, otherwise it is added to the trailing list.
The index
should be 0 based. Thus, to insert an item at
the end of a list, set index
to
shuttleProxy.getItemCount(leadinglist)
. The text
parameter specifies the display text for the item, while the
value
parameter specifies the value that represents this item
upon form submission. The description
parameter specifies a
description of the item. The description
parameter can be omitted.deleteItemByValue(leadingList, value)
:
deletes an item
from a list. The item is deleted from the leading list if
leadingList
is true, otherwise it is deleted from the trailing
list. The item deleted is the first item with the value (not text) of
value
.deleteSelectedItems(leadingList)
: deletes items
from a list. The items are deleted from the leading list if
leadingList
is true, otherwise they are deleted from the
trailing list. The items deleted are the items that are selected in the
appropriate list.A basic shuttle with a button on the bottom of the trailing container.
<shuttle name="shuttle1" leadingHeader="Header 1" trailingHeader="Header 2" size="5"> <leading> <list> <contents> <option text="option 1"/> <option text="option 2"/> <option text="option 3"/> <option text="This is a very very long option 4"/> </contents> </list> </leading> <trailing> <list> <contents> <option text="2option 1"/> <option text="2option 2"/> <option text="2option 3"/> <option text="2option 4"/> <option text="2option 5"/> </contents> </list> </trailing> <trailingFooter> <flowLayout> <contents> <button text="A button"/> </contents> </flowLayout> </trailingFooter> <contents/> </shuttle>
A reorder list with descriptions and a filter.
<shuttle name="shuttle2" leadingDescShown="true" leadingHeader="Reorder List"> <filter> <rowLayout valign="center"> <contents> <messagePrompt prompt="Filter"/> <spacer width="5" height="1"/> <choice name="binkyLovesWinky"> <contents> <option text="filter 1" value="filter 1"/> <option text="filter 2" value="filter 2"/> <option text="filter 3" value="filter 3"/> <option text="filter 4" value="filter 4"/> <option text="filter 5" value="filter 5"/> <option text="filter 6" value="filter 6"/> </contents> </choice> <spacer width="3" height="1"/> <button text="Go" destination="#"/> </contents> </rowLayout> </filter> <leading> <list> <contents> <option text="choice 1" longDesc="choice 1 description"/> <option text="choice 2" longDesc="choice 2 description"/> <option text="choice 3" longDesc="choice 3 description"/> <option text="choice 4" longDesc="choice 4 description"/> <option text="choice 5" longDesc="choice 5 description"/> <option text="choice 6" longDesc="choice 6 description"/> <option text="choice 7" longDesc="choice 7 description"/> <option text="choice 8" longDesc="choice 8 description"/> <option text="choice 9" longDesc="choice 9 description"/> <option text="choice 10" longDesc="choice 10 description"/> <option text="choice 11" longDesc="choice 11 description"/> <option text="choice 12 is longer!" longDesc="choice 12 description"/> </contents> </list> </leading> <contents/> </shuttle>
UIConstants
,
ListBean
,
FlowLayoutBean
,
ButtonBean
,
ImageBean
Constructor Summary | |
|
ShuttleBean()
Construct an instance of the ShuttleBean. |
protected |
ShuttleBean(boolean ignored,
java.lang.String localName)
Construct an instance of the ShuttleBean. |
|
ShuttleBean(java.lang.String name,
java.lang.String leadingHeader,
java.lang.String trailingHeader)
Construct an instance of the ShuttleBean. |
|
ShuttleBean(java.lang.String name,
java.lang.String leadingHeader,
java.lang.String trailingHeader,
int size)
Construct an instance of the ShuttleBean. |
|
ShuttleBean(java.lang.String name,
java.lang.String leadingHeader,
java.lang.String trailingHeader,
int size,
UINode leadingNode,
UINode trailingNode)
Construct an instance of the ShuttleBean. |
Method Summary | |
UINode |
getFilter()
the filter above the leading list. |
static UINode |
getFilter(MutableUINode bean)
the filter above the leading list. |
UINode |
getLeading()
the leading list of the shuttle. |
static UINode |
getLeading(MutableUINode bean)
the leading list of the shuttle. |
UINode |
getLeadingFooter()
the footer of buttons/images under the leading list. |
static UINode |
getLeadingFooter(MutableUINode bean)
the footer of buttons/images under the leading list. |
java.lang.String |
getLeadingHeader()
Gets the header of the leading list of the shuttle. |
static java.lang.String |
getLeadingHeader(MutableUINode bean)
Gets the header of the leading list of the shuttle. |
java.lang.String |
getName()
Gets the name used to identify the shuttle. |
static java.lang.String |
getName(MutableUINode bean)
Gets the name used to identify the shuttle. |
int |
getSize()
Gets the height in item number of each list in the shuttle. |
static int |
getSize(MutableUINode bean)
Gets the height in item number of each list in the shuttle. |
UINode |
getTrailing()
the trailing list of the shuttle. |
static UINode |
getTrailing(MutableUINode bean)
the trailing list of the shuttle. |
UINode |
getTrailingFooter()
the footer of buttons/images under the trailing list. |
static UINode |
getTrailingFooter(MutableUINode bean)
the footer of buttons/images under the trailing list. |
java.lang.String |
getTrailingHeader()
Gets the header of the trailing list of the shuttle. |
static java.lang.String |
getTrailingHeader(MutableUINode bean)
Gets the header of the trailing list of the shuttle. |
boolean |
isLeadingDescShown()
Gets whether or not the leading list has an area to display descriptions. |
static boolean |
isLeadingDescShown(MutableUINode bean)
Gets whether or not the leading list has an area to display descriptions. |
boolean |
isReorderable()
Gets a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
static boolean |
isReorderable(MutableUINode bean)
Gets a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
boolean |
isTrailingDescShown()
Gets whether or not the trailing list has an area to display descriptions. |
static boolean |
isTrailingDescShown(MutableUINode bean)
Gets whether or not the trailing list has an area to display descriptions. |
static void |
setFilter(MutableUINode bean,
UINode filterNode)
the filter above the leading list. |
void |
setFilter(UINode filterNode)
the filter above the leading list. |
static void |
setLeading(MutableUINode bean,
UINode leadingNode)
the leading list of the shuttle. |
void |
setLeading(UINode leadingNode)
the leading list of the shuttle. |
void |
setLeadingDescShown(boolean leadingDescShown)
Sets whether or not the leading list has an area to display descriptions. |
static void |
setLeadingDescShown(MutableUINode bean,
boolean leadingDescShown)
Sets whether or not the leading list has an area to display descriptions. |
static void |
setLeadingFooter(MutableUINode bean,
UINode leadingFooterNode)
the footer of buttons/images under the leading list. |
void |
setLeadingFooter(UINode leadingFooterNode)
the footer of buttons/images under the leading list. |
static void |
setLeadingHeader(MutableUINode bean,
java.lang.String leadingHeader)
Sets the header of the leading list of the shuttle. |
void |
setLeadingHeader(java.lang.String leadingHeader)
Sets the header of the leading list of the shuttle. |
void |
setLeadingHeaderBinding(BoundValue boundValue)
Binds the the header of the leading list of the shuttle. |
static void |
setLeadingHeaderBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the header of the leading list of the shuttle. |
static void |
setLeadingHeaderBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the header of the leading list of the shuttle. |
static void |
setLeadingHeaderBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the header of the leading list of the shuttle. |
void |
setLeadingHeaderBinding(java.lang.Object selectKey)
Binds the the header of the leading list of the shuttle. |
void |
setLeadingHeaderBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the header of the leading list of the shuttle. |
static void |
setName(MutableUINode bean,
java.lang.String name)
Sets the name used to identify the shuttle. |
void |
setName(java.lang.String name)
Sets the name used to identify the shuttle. |
void |
setReorderable(boolean reorderable)
Sets a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
static void |
setReorderable(MutableUINode bean,
boolean reorderable)
Sets a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
void |
setReorderableBinding(BoundValue boundValue)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
static void |
setReorderableBinding(MutableUINode bean,
BoundValue boundValue)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
static void |
setReorderableBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
static void |
setReorderableBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
void |
setReorderableBinding(java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
void |
setReorderableBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the a boolean value indicating whether or not the reorder icons should appear next to the trailing list. |
void |
setSize(int size)
Sets the height in item number of each list in the shuttle. |
static void |
setSize(MutableUINode bean,
int size)
Sets the height in item number of each list in the shuttle. |
void |
setSizeBinding(BoundValue boundValue)
Binds the the height in item number of each list in the shuttle. |
static void |
setSizeBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the height in item number of each list in the shuttle. |
static void |
setSizeBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the height in item number of each list in the shuttle. |
static void |
setSizeBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the height in item number of each list in the shuttle. |
void |
setSizeBinding(java.lang.Object selectKey)
Binds the the height in item number of each list in the shuttle. |
void |
setSizeBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the height in item number of each list in the shuttle. |
static void |
setTrailing(MutableUINode bean,
UINode trailingNode)
the trailing list of the shuttle. |
void |
setTrailing(UINode trailingNode)
the trailing list of the shuttle. |
void |
setTrailingDescShown(boolean trailingDescShown)
Sets whether or not the trailing list has an area to display descriptions. |
static void |
setTrailingDescShown(MutableUINode bean,
boolean trailingDescShown)
Sets whether or not the trailing list has an area to display descriptions. |
static void |
setTrailingFooter(MutableUINode bean,
UINode trailingFooterNode)
the footer of buttons/images under the trailing list. |
void |
setTrailingFooter(UINode trailingFooterNode)
the footer of buttons/images under the trailing list. |
static void |
setTrailingHeader(MutableUINode bean,
java.lang.String trailingHeader)
Sets the header of the trailing list of the shuttle. |
void |
setTrailingHeader(java.lang.String trailingHeader)
Sets the header of the trailing list of the shuttle. |
void |
setTrailingHeaderBinding(BoundValue boundValue)
Binds the the header of the trailing list of the shuttle. |
static void |
setTrailingHeaderBinding(MutableUINode bean,
BoundValue boundValue)
Binds the the header of the trailing list of the shuttle. |
static void |
setTrailingHeaderBinding(MutableUINode bean,
java.lang.Object selectKey)
Binds the the header of the trailing list of the shuttle. |
static void |
setTrailingHeaderBinding(MutableUINode bean,
java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the header of the trailing list of the shuttle. |
void |
setTrailingHeaderBinding(java.lang.Object selectKey)
Binds the the header of the trailing list of the shuttle. |
void |
setTrailingHeaderBinding(java.lang.String dataNamespace,
java.lang.String dataName,
java.lang.Object selectKey)
Binds the the header of the trailing list of the shuttle. |
static void |
setTranslatableLeadingHeader(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the header of the leading list of the shuttle. |
void |
setTranslatableLeadingHeader(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the header of the leading list of the shuttle. |
static void |
setTranslatableTrailingHeader(MutableUINode bean,
java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the header of the trailing list of the shuttle. |
void |
setTranslatableTrailingHeader(java.lang.String bundleName,
java.lang.String key)
Binds to a ResourceBundle the the header of the trailing list of the shuttle. |
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 ShuttleBean()
public ShuttleBean(java.lang.String name, java.lang.String leadingHeader, java.lang.String trailingHeader)
name
- the name used to identify the shuttle.leadingHeader
- the header of the leading list of the shuttle.trailingHeader
- the header of the trailing list of the shuttle.public ShuttleBean(java.lang.String name, java.lang.String leadingHeader, java.lang.String trailingHeader, int size)
name
- the name used to identify the shuttle.leadingHeader
- the header of the leading list of the shuttle.trailingHeader
- the header of the trailing list of the shuttle.size
- the height in item number of each list in the shuttle.public ShuttleBean(java.lang.String name, java.lang.String leadingHeader, java.lang.String trailingHeader, int size, UINode leadingNode, UINode trailingNode)
name
- the name used to identify the shuttle.leadingHeader
- the header of the leading list of the shuttle.trailingHeader
- the header of the trailing list of the shuttle.size
- the height in item number of each list in the shuttle.leadingNode
- the leading list of the shuttle.trailingNode
- the trailing list of the shuttle.protected ShuttleBean(boolean ignored, java.lang.String localName)
Method Detail |
public final UINode getLeading()
This is a required property on the bean.
public final void setLeading(UINode leadingNode)
This is a required property on the bean.
public final UINode getTrailing()
public final void setTrailing(UINode trailingNode)
public final UINode getFilter()
public final void setFilter(UINode filterNode)
public final UINode getLeadingFooter()
public final void setLeadingFooter(UINode leadingFooterNode)
public final UINode getTrailingFooter()
public final void setTrailingFooter(UINode trailingFooterNode)
public final java.lang.String getName()
This is a required property on the bean.
public final void setName(java.lang.String name)
This is a required property on the bean.
public final java.lang.String getLeadingHeader()
public final void setLeadingHeader(java.lang.String leadingHeader)
public final void setTranslatableLeadingHeader(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 setLeadingHeaderBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setLeadingHeaderBinding(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 setLeadingHeaderBinding(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 getTrailingHeader()
public final void setTrailingHeader(java.lang.String trailingHeader)
public final void setTranslatableTrailingHeader(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 setTrailingHeaderBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setTrailingHeaderBinding(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 setTrailingHeaderBinding(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 boolean isLeadingDescShown()
public final void setLeadingDescShown(boolean leadingDescShown)
public final boolean isTrailingDescShown()
public final void setTrailingDescShown(boolean trailingDescShown)
public final int getSize()
public final void setSize(int size)
public final void setSizeBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setSizeBinding(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 setSizeBinding(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 boolean isReorderable()
public final void setReorderable(boolean reorderable)
public final void setReorderableBinding(BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public final void setReorderableBinding(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 setReorderableBinding(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 UINode getLeading(MutableUINode bean)
This is a required property on the bean.
public static void setLeading(MutableUINode bean, UINode leadingNode)
This is a required property on the bean.
public static UINode getTrailing(MutableUINode bean)
public static void setTrailing(MutableUINode bean, UINode trailingNode)
public static UINode getFilter(MutableUINode bean)
public static void setFilter(MutableUINode bean, UINode filterNode)
public static UINode getLeadingFooter(MutableUINode bean)
public static void setLeadingFooter(MutableUINode bean, UINode leadingFooterNode)
public static UINode getTrailingFooter(MutableUINode bean)
public static void setTrailingFooter(MutableUINode bean, UINode trailingFooterNode)
public static java.lang.String getName(MutableUINode bean)
This is a required property on the bean.
public static void setName(MutableUINode bean, java.lang.String name)
This is a required property on the bean.
public static java.lang.String getLeadingHeader(MutableUINode bean)
public static void setLeadingHeader(MutableUINode bean, java.lang.String leadingHeader)
public static void setTranslatableLeadingHeader(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 setLeadingHeaderBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setLeadingHeaderBinding(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 setLeadingHeaderBinding(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 getTrailingHeader(MutableUINode bean)
public static void setTrailingHeader(MutableUINode bean, java.lang.String trailingHeader)
public static void setTranslatableTrailingHeader(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 setTrailingHeaderBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setTrailingHeaderBinding(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 setTrailingHeaderBinding(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 boolean isLeadingDescShown(MutableUINode bean)
public static void setLeadingDescShown(MutableUINode bean, boolean leadingDescShown)
public static boolean isTrailingDescShown(MutableUINode bean)
public static void setTrailingDescShown(MutableUINode bean, boolean trailingDescShown)
public static int getSize(MutableUINode bean)
public static void setSize(MutableUINode bean, int size)
public static void setSizeBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setSizeBinding(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 setSizeBinding(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 boolean isReorderable(MutableUINode bean)
public static void setReorderable(MutableUINode bean, boolean reorderable)
public static void setReorderableBinding(MutableUINode bean, BoundValue boundValue)
boundValue
- a BoundValue implementation to be used
to retrieve the value.public static void setReorderableBinding(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 setReorderableBinding(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 |