public final class TableOptions extends PatternOptions
Modifier and Type | Class and Description |
---|---|
static class |
TableOptions.Selection |
Modifier and Type | Method and Description |
---|---|
Column |
createColumn(oracle.binding.meta.NamedDefinition namedDefinition)
Create column for a named definition.
|
DynamicColumn |
createDynamicColumn()
Return a dynamic column which consists of an iterator that contains a column that contains a dynamic component widget.
|
DynamicHierColumn |
createDynamicHierarchyColumn()
Return a dynamic hierarchy column which embeds a switcher containing a GROUP and ATTRIBUTE facet.
|
java.util.List<oracle.binding.meta.NamedDefinition> |
getAvailableColumnDefinitions()
Returns the current list of
NamedDefinition s that can be used in conjunction with the Column class, and in particular the create(namedDef) method. |
java.util.List<Widget> |
getAvailableWidgets(Column column)
Returns the set of usable widgets for the given column definition.
|
java.util.List<Column> |
getColumns()
Returns the current list of columns that the table will create when constructing the table.
|
TableOptions.Selection |
getSelection() |
Column |
group(java.util.List<Column> columnList, java.lang.String columnGroupLabel)
Group a list of columns into a column group using the specified column group label.
|
boolean |
isFiltered()
Determines whether or not the pattern should create or modify the table to support column based filtering.
|
boolean |
isReadOnly()
When true, all columns that are auto generated (that is, the component that is picked by the table pattern) will default to read only controls.
|
boolean |
isRebindingToOriginalSource()
Returns true if the source of a rebind is the same source as the table was originally created with, otherwise false.
|
boolean |
isSelectionEnabled()
Returns true if the pattern should create or modify the table to support selection of the columns.
|
boolean |
isSorted()
Returns true if the pattern should create or modify the table to support column based sorting.
|
void |
setColumns(java.util.List<Column> columns)
Sets the columns to use to create the table.
|
void |
setFiltered(boolean filtered)
Returns true if the pattern should create or modify the table to support column based filtering.
|
void |
setReadOnly(boolean readOnly)
Only affects the default generation of column components, where only read only patterns will be considered.
|
void |
setSelection(TableOptions.Selection selection)
Determines whether or not the pattern should create or modify the table to support selection of the columns.
|
void |
setSelectionEnabled(boolean enabled)
Deprecated.
Use setSelection(Selection) instead.
|
void |
setSorted(boolean sorted)
Determines whether or not the pattern should create or modify the table to support column based sorting.
|
void |
ungroup(Column column)
UnGroup a column group into it's individual columns.
|
merge
public void setColumns(java.util.List<Column> columns)
public java.util.List<Column> getColumns()
public Column group(java.util.List<Column> columnList, java.lang.String columnGroupLabel)
public void ungroup(Column column)
public Column createColumn(oracle.binding.meta.NamedDefinition namedDefinition)
public DynamicColumn createDynamicColumn()
public DynamicHierColumn createDynamicHierarchyColumn()
public java.util.List<oracle.binding.meta.NamedDefinition> getAvailableColumnDefinitions()
NamedDefinition
s that can be used in conjunction with the Column
class, and in particular the create(namedDef) method.public boolean isSorted()
public void setSorted(boolean sorted)
public boolean isSelectionEnabled()
public TableOptions.Selection getSelection()
public void setSelection(TableOptions.Selection selection)
@Deprecated public void setSelectionEnabled(boolean enabled)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public void setFiltered(boolean filtered)
public boolean isFiltered()
public java.util.List<Widget> getAvailableWidgets(Column column)
public boolean isRebindingToOriginalSource()