public final class Table extends Object implements ITable
ITablePanel.| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
private ITablePanel |
tablePanel
The current
ITablePanel instance to control. |
| Modifier | Constructor and Description |
|---|---|
private |
Table() |
| Modifier and Type | Method and Description |
|---|---|
static ITable |
getInstance() |
ITablePanel |
getTablePanel()
Gets the current
ITablePanel instance. |
boolean |
isEmpty()
Returns whether or not the panel currently displays an item.
|
void |
reset()
Resets the table panel.
|
void |
setNewData(List<TableModel> tableModels)
Set the new data to the table.
|
void |
setNewData(TableModel tableModel)
Set the new data to the table.
|
void |
setTablePanel(ITablePanel arg)
Sets the
ITablePanel instance to control. |
private void |
updateMainFrameTitle()
Updates the title of the main frame according to single or
multi-selection of table models.
|
private static final org.apache.log4j.Logger logger
private ITablePanel tablePanel
ITablePanel instance to control.public static ITable getInstance()
public ITablePanel getTablePanel()
ITablePanel instance.getTablePanel in interface ITablepublic void setTablePanel(ITablePanel arg)
ITablePanel instance to control.setTablePanel in interface ITablearg - public void setNewData(TableModel tableModel)
setNewData in interface ITabletableModel - public void setNewData(List<TableModel> tableModels)
setNewData in interface ITabletableModels - public void reset()
reset in interface ITableITablePanel.reset()public boolean isEmpty()
isEmpty in interface ITabletrue, if an item is displayed, false,
if notITablePanel.isEmpty()private void updateMainFrameTitle()
multiSelection - Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.