com.atlassian.confluence.plugins.linkbrowser.client.display
Class ConfluenceDataTableDisplay

java.lang.Object
  extended by com.atlassian.confluence.plugins.linkbrowser.client.display.ConfluenceDataTableDisplay
All Implemented Interfaces:
DataTableSupport

public class ConfluenceDataTableDisplay
extends Object
implements DataTableSupport


Constructor Summary
ConfluenceDataTableDisplay(com.google.gwt.user.client.ui.FlowPanel messagePanel, DataTable table)
           
 
Method Summary
 void displayFetchDataError(String errorMessage)
          Display and error message when an error is encountered fetching the data.
 void displayNoDataMessage()
          Display the appropriate information when there are no data results returned.
 void fetchDataTable()
          Fetch data and update the table.
 String getId()
           
 HasAction getTableActionSupport()
           
 List getTableData()
          Returns the data list used to populate the table.
 void hideDataTable()
          Hides the data table from display.
 void hideMessagePanel()
           
 void setDataSource(DataSource dataSource)
          Sets the data source for the data table
 void setDataSourceCallback(DataSourceCallback callback)
          Sets the data source callback for the data table.
 void setFetchDataErrorMessage(String fetchDataErrorMessage)
           
 void setNoDataMessage(String noDataMessage)
           
 void setSelectionHandler(DataTableSelectionHandler handler)
          Sets the selection handler for the data table.
 void showDataTable()
          Shows the data table in display.
 void showMessagePanel()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceDataTableDisplay

public ConfluenceDataTableDisplay(com.google.gwt.user.client.ui.FlowPanel messagePanel,
                                  DataTable table)
Method Detail

setNoDataMessage

public void setNoDataMessage(String noDataMessage)

setFetchDataErrorMessage

public void setFetchDataErrorMessage(String fetchDataErrorMessage)

getId

public String getId()
Specified by:
getId in interface DataTableSupport
Returns:
the id of the data table container

displayNoDataMessage

public void displayNoDataMessage()
Description copied from interface: DataTableSupport
Display the appropriate information when there are no data results returned.

Specified by:
displayNoDataMessage in interface DataTableSupport

displayFetchDataError

public void displayFetchDataError(String errorMessage)
Description copied from interface: DataTableSupport
Display and error message when an error is encountered fetching the data.

Specified by:
displayFetchDataError in interface DataTableSupport

getTableData

public List getTableData()
Description copied from interface: DataTableSupport
Returns the data list used to populate the table.

Specified by:
getTableData in interface DataTableSupport

fetchDataTable

public void fetchDataTable()
Description copied from interface: DataTableSupport
Fetch data and update the table.

Specified by:
fetchDataTable in interface DataTableSupport

setSelectionHandler

public void setSelectionHandler(DataTableSelectionHandler handler)
Description copied from interface: DataTableSupport
Sets the selection handler for the data table.

Specified by:
setSelectionHandler in interface DataTableSupport

setDataSourceCallback

public void setDataSourceCallback(DataSourceCallback callback)
Description copied from interface: DataTableSupport
Sets the data source callback for the data table.

Specified by:
setDataSourceCallback in interface DataTableSupport

setDataSource

public void setDataSource(DataSource dataSource)
Description copied from interface: DataTableSupport
Sets the data source for the data table

Specified by:
setDataSource in interface DataTableSupport

hideMessagePanel

public void hideMessagePanel()

showMessagePanel

public void showMessagePanel()

showDataTable

public void showDataTable()
Description copied from interface: DataTableSupport
Shows the data table in display.

Specified by:
showDataTable in interface DataTableSupport

hideDataTable

public void hideDataTable()
Description copied from interface: DataTableSupport
Hides the data table from display.

Specified by:
hideDataTable in interface DataTableSupport

getTableActionSupport

public HasAction getTableActionSupport()
Specified by:
getTableActionSupport in interface DataTableSupport


Copyright © 2003-2011 Atlassian. All Rights Reserved.