public interface View
| Modifier and Type | Method and Description |
|---|---|
void |
addViewListener(ViewListener listener)
Adds a view listener.
|
void |
changeFilters(java.lang.String[] activeFilterNames)
Sets the active filters.
|
void |
changeTable(java.lang.String tableName)
Changes the current active table
|
View |
copy()
Returns a copy of the object.
|
void |
forceReloadActiveTable(Environment env) |
java.lang.String[] |
getActiveFilterNames()
Returns the names of the filters currently in use.
|
Table |
getActiveTable(Environment env)
Returns the table.
|
java.lang.String |
getActiveTableName()
Returns the active table name.
|
java.lang.String[] |
getAvailableFilterNames()
Returns a list of available filters
|
Filters |
getAvailableFilters()
Returns the available filters from this view.
|
java.lang.String[] |
getAvailableTableNames()
Returns a list of available tables.
|
java.lang.String |
getContextMenuName()
Returns the name of the context menu.
|
java.lang.String |
getDisplayMode()
Returns the display mode for this view.
|
java.lang.String |
getDisplayName(java.util.Locale forLocale)
Returns the display name of the view.
|
Expander |
getExpander()
Returns the expander that is used to expand structures using this view.
|
Filters |
getFilters()
Returns the filters used by this view.
|
java.lang.String |
getName()
Returns the name of the view.
|
java.lang.String |
getRoleName()
Returns the role name on which the filters are defined.
|
TableFactory |
getTableFactory()
Returns the factory that is used to load tables.
|
java.lang.String |
getToolBarName()
Returns the name of the toolbar menu.
|
void |
removeViewListener(ViewListener listener)
Removes a view listener.
|
void |
setExpander(Expander expander)
Sets a custom expander.
|
void |
setTableFactory(TableFactory tableFactory)
Change the factory that will be used to load tables.
|
java.lang.String getName()
java.lang.String getDisplayName(java.util.Locale forLocale)
forLocale - The desired locale of the display name.java.lang.String getRoleName()
void changeFilters(java.lang.String[] activeFilterNames)
throws TVCException
activeFilterNames - The new filters that should be active.TVCExceptionjava.lang.String[] getAvailableFilterNames()
throws TVCException
TVCException - If unable to get a list of available filters.Filters getFilters()
Filters getAvailableFilters()
java.lang.String[] getActiveFilterNames()
java.lang.String[] getAvailableTableNames()
throws TVCException
TVCException - If unable to get a list of available table names.void changeTable(java.lang.String tableName)
throws TVCException
tableName - The name of the new table.TVCException - If unable to change table.java.lang.String getActiveTableName()
Table getActiveTable(Environment env) throws TVCException
env - The current Environment. The environment affects how
the table is loaded, if it has to be loaded.TVCException - If unable to load the table.java.lang.String getContextMenuName()
java.lang.String getToolBarName()
void addViewListener(ViewListener listener)
listener - The new ViewListener.void removeViewListener(ViewListener listener)
listener - The listener to remove.View copy() throws TVCException
TVCExceptionTableFactory getTableFactory()
void setTableFactory(TableFactory tableFactory)
tableFactory - The new TableFactory.Expander getExpander()
void setExpander(Expander expander)
expander - java.lang.String getDisplayMode()
void forceReloadActiveTable(Environment env) throws TVCException
env - TVCExceptionCopyright ? Technia AB. All Rights Reserved.