public class ListViewOptions extends PatternOptions
Constructor and Description |
---|
ListViewOptions(CreatorParams params)
Creates ListViewOptions with default settings.
|
ListViewOptions(CreatorParams params,
org.w3c.dom.Element listItemLayout,
boolean includingHeader,
java.util.List<ListItem> headerListItems,
java.util.List<ListItem> contentListItems)
Creates ListViewOptions with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Widget> |
getAvailableWidgets(ListItem listItem)
Returnsthe list of available widgets for the requested listItem.
|
java.util.Collection<oracle.binding.meta.NamedDefinition> |
getContentDefinitions()
Returns the list of NamedDefinitions for current content list-items.
|
java.util.List<ListItem> |
getContentListItems()
Returns the list of content data items.
|
oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider |
getContentModelProvider(ListItem listItem)
Returns the content model-provider for the ListItem.
|
java.util.Collection<? extends oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider> |
getContentModels()
Returns the list of content model-providers.
|
CreatorParams |
getCreatorParams()
Returns the CreatorParams.
|
java.util.Collection<oracle.binding.meta.NamedDefinition> |
getHeaderDefinitions()
Returns the list of NamedDefinitions for current header list-items.
|
java.util.List<ListItem> |
getHeaderListItems()
Returns the list of header data items.
|
oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider |
getHeaderModelProvider(ListItem listItem)
Returns the header model-provider for the ListItem.
|
java.util.Collection<? extends oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider> |
getHeaderModels()
Returns the list of header model-providers.
|
org.w3c.dom.Element |
getListItemLayout()
Returns the ListItem layout element.
|
boolean |
isIncludingHeader()
Tells whether to including the header to the ListView or not.
|
void |
setContentListItems(java.util.List<ListItem> contentListItems)
Sets the list of content data items which will be used to bind the ListView content elements.
|
void |
setHeaderListItems(java.util.List<ListItem> headerListItems)
Sets the list of header data items.
|
void |
setIncludingHeader(boolean includingHeader)
Set the includingHeader parameter.
|
void |
setListItemLayout(org.w3c.dom.Element listItemLayout)
Sets the ListItem layout element.
|
merge
public ListViewOptions(CreatorParams params)
params
- CreateParms used to create the ListView.public ListViewOptions(CreatorParams params, org.w3c.dom.Element listItemLayout, boolean includingHeader, java.util.List<ListItem> headerListItems, java.util.List<ListItem> contentListItems)
params
- CreateParms used to create the ListView.listItemLayout
- ListItem layout element. Default layout is 'panelGroupLayout'.includingHeader
- Indicates whether to include the header in ListView. If this is set to true then current binding definition shoud have parent accessor.headerListItems
- List of header data items. This list will be used only when includingHeader is true.contentListItems
- List of content data items.public CreatorParams getCreatorParams()
public void setIncludingHeader(boolean includingHeader)
includingHeader
- boolean indicating to include headerpublic boolean isIncludingHeader()
public void setListItemLayout(org.w3c.dom.Element listItemLayout)
listItemLayout
- list item layout elementpublic org.w3c.dom.Element getListItemLayout()
public void setHeaderListItems(java.util.List<ListItem> headerListItems)
headerListItems
- list of header data items which will be used to to bind the ListView header.public java.util.List<ListItem> getHeaderListItems()
public void setContentListItems(java.util.List<ListItem> contentListItems)
contentListItems
- list of content data items.public java.util.List<ListItem> getContentListItems()
public java.util.Collection<? extends oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider> getHeaderModels()
public java.util.Collection<? extends oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider> getContentModels()
public oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider getHeaderModelProvider(ListItem listItem)
listItem
- ListItem for which model-provider is required.public oracle.adfdt.view.unified.binding.provider.api.ColumnModelProvider getContentModelProvider(ListItem listItem)
listItem
- ListItem for which model-provider is required.public java.util.Collection<oracle.binding.meta.NamedDefinition> getHeaderDefinitions()
public java.util.Collection<oracle.binding.meta.NamedDefinition> getContentDefinitions()