|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnextapp.echo2.app.Component
nextapp.echo2.app.Table
echopointng.TableEx
com.sptci.epng.table.Table<D>
public class Table<D>
A genericised Table used to display instances
of objects of the type specified.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary | |
|---|---|
protected class |
Table.DefaultActionListener
The default ActionListener for the
table. |
| Nested classes/interfaces inherited from class echopointng.TableEx |
|---|
TableEx.CellMatrix |
| Field Summary |
|---|
| Fields inherited from interface echopointng.able.Stretchable |
|---|
PROPERTY_HEIGHT_STRETCHED, PROPERTY_MAXIMUM_STRETCHED_HEIGHT, PROPERTY_MINIMUM_STRETCHED_HEIGHT |
| Constructor Summary | |
|---|---|
protected |
Table()
Default constructor. |
|
Table(TableModel<D> model)
Create a new table using the specified model for its data. |
| Method Summary | |
|---|---|
void |
addSelectionListener(SelectionListener listener)
Adds a selection listener to be notified of row selections. |
protected void |
fireRowSelection()
Notifies configured SelectionListener of row selections. |
TableModel |
getModel()
Over-ridden to return a properly type-cast model. |
void |
removeSelectionListener(SelectionListener listener)
Remove a selection listener from being notified of row selections. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface echopointng.able.Delegateable |
|---|
getRenderProperty, getRenderProperty |
| Constructor Detail |
|---|
protected Table()
public Table(TableModel<D> model)
model - The underlying data model to use for the table.| Method Detail |
|---|
public void addSelectionListener(SelectionListener listener)
listener - The listener to add.Component.getEventListenerList()public void removeSelectionListener(SelectionListener listener)
listener - The listener to remove.protected void fireRowSelection()
SelectionListener of row selections.
public TableModel getModel()
getModel in class Table
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||