|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.portlets.user.tdw.client.TabularData
public class TabularData
| Field Summary | |
|---|---|
protected TabularDataController |
controller
|
protected String |
defaultDataSourceFactoryName
|
protected com.google.gwt.event.shared.EventBus |
eventBus
|
protected TabularDataGridPanel |
gridPanel
|
protected static int |
seed
|
protected int |
tdSessionId
|
| Constructor Summary | |
|---|---|
TabularData()
Creates a new TabularData object. |
|
TabularData(String defaultDataSourceFactoryName)
Creates a new TabularData object setting the default {@link DataSourceFactory} name. |
|
| Method Summary | |
|---|---|
void |
addFailureHandler(FailureEventHandler handler)
Add a new FailureEventHandler. |
void |
closeTable()
|
TableDefinition |
getCurrentTable()
Returns the current table definition. |
String |
getDefaultDataSourceFactoryName()
|
TabularDataGridPanel |
getGridPanel()
|
void |
getTableDefinition(String tableKey,
com.google.gwt.user.client.rpc.AsyncCallback<TableDefinition> callback)
|
void |
getTableDefinition(TableId tableId,
com.google.gwt.user.client.rpc.AsyncCallback<TableDefinition> callback)
Returns the TableDefinition for the specified TableId. |
protected TableId |
getTableId(String tableKey)
|
void |
openTable(String tableKey)
Opens a new table. |
void |
openTable(TableId id)
Opens a new table. |
void |
setDefaultDataSourceFactoryName(String defaultDataSourceFactoryName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static int seed
protected int tdSessionId
protected String defaultDataSourceFactoryName
protected com.google.gwt.event.shared.EventBus eventBus
protected TabularDataController controller
protected TabularDataGridPanel gridPanel
| Constructor Detail |
|---|
public TabularData(String defaultDataSourceFactoryName)
defaultDataSourceFactoryName - the default DataSourceFactory name.public TabularData()
TabularData object.
| Method Detail |
|---|
public String getDefaultDataSourceFactoryName()
public void setDefaultDataSourceFactoryName(String defaultDataSourceFactoryName)
defaultDataSourceFactoryName - the defaultDataSourceFactoryName to setpublic TabularDataGridPanel getGridPanel()
public void addFailureHandler(FailureEventHandler handler)
FailureEventHandler.
handler - public void openTable(TableId id)
id - the table id.public void openTable(String tableKey)
DataSourceFactory name is used.
tableKey - the table key.public TableDefinition getCurrentTable()
null if no table is open.
public void getTableDefinition(TableId tableId,
com.google.gwt.user.client.rpc.AsyncCallback<TableDefinition> callback)
TableDefinition for the specified TableId.
tableId - the table id.callback - the AsyncCallback called when the TableDefinition is retrieved.
public void getTableDefinition(String tableKey,
com.google.gwt.user.client.rpc.AsyncCallback<TableDefinition> callback)
public void closeTable()
protected TableId getTableId(String tableKey)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||