public abstract class TableFactory
extends com.technia.tvc.core.gui.common.FactoryBase
| Constructor and Description |
|---|
TableFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.List<java.lang.String> |
getAvailableTableNames()
Returns the list of the available tables names, that the
TableFactory can find. |
abstract java.lang.String |
getDisplayName(java.lang.Object resource,
java.util.Locale locale)
Returns the display name of a table.
|
static TableFactory |
getInstance()
The application wide factory instance.
|
abstract Table |
loadTable(java.lang.Object resource,
Environment env)
Loads a table from the specified resource.
|
public abstract java.lang.String getDisplayName(java.lang.Object resource,
java.util.Locale locale)
throws TVCException
resource - The table (name).locale - The locale of the display name.TVCException - If unable to get the display name of the table.public abstract Table loadTable(java.lang.Object resource, Environment env) throws TVCException
resource - The resource from which the system table should be
loaded.env - The environment.Table.TVCException - If an error occurs.public abstract java.util.List<java.lang.String> getAvailableTableNames()
throws TVCException
TableFactory can find. Not all tables (such as tables defined as
resources on the classpath) can be found.TVCException - If unable to list the available tables.public static TableFactory getInstance()
Copyright ? Technia AB. All Rights Reserved.