|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.odell.glazedlists.swt.AbstractKTableFormat
ca.odell.glazedlists.swt.TableFormatKTableFormat
public class TableFormatKTableFormat
Adapt TableFormat to KTableFormat. This can be used to
quickly develop a KTableFormat using existing TableFormats,
such as those created by GlazedLists.tableFormat(java.lang.String[], java.lang.String[]).
| Constructor Summary | |
|---|---|
TableFormatKTableFormat(TableFormat tableFormat)
Adapt the specified TableFormat to be used in
a KTable. |
|
| Method Summary | |
|---|---|
int |
getColumnCount()
The number of columns to display. |
de.kupzog.ktable.KTableCellEditor |
getColumnEditor(Object baseObject,
int column)
|
Object |
getColumnHeaderValue(int headerRow,
int column)
Provide a value for the specified header row and column. |
String |
getColumnName(int column)
Gets the title of the specified column. |
de.kupzog.ktable.KTableCellRenderer |
getColumnRenderer(Object baseObject,
int column)
|
Object |
getColumnValue(Object baseObject,
int column)
Gets the value of the specified field for the specified object. |
int |
getFixedHeaderRowCount()
|
| Methods inherited from class ca.odell.glazedlists.swt.AbstractKTableFormat |
|---|
getColumnTooltip, getColumnWidth, getFixedHeaderColumnCount, getFixedSelectableColumnCount, getRowHeight, getRowHeightMinimum, isColumnResizable, isRowResizable, setColumnWidth, setRowHeight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TableFormatKTableFormat(TableFormat tableFormat)
TableFormat to be used in
a KTable.
| Method Detail |
|---|
public int getFixedHeaderRowCount()
getFixedHeaderRowCount in interface KTableFormatgetFixedHeaderRowCount in class AbstractKTableFormatKTableModel.getFixedHeaderRowCount()public String getColumnName(int column)
public Object getColumnValue(Object baseObject,
int column)
public Object getColumnHeaderValue(int headerRow,
int column)
TableFormat, the KTableFormat supports
multiple header rows per table. Therefore this method is the
preferred way to define the header values for DefaultEventKTableModel.
TableFormat.getColumnName(int),
KTableModel.getContentAt(int, int)public int getColumnCount()
public de.kupzog.ktable.KTableCellEditor getColumnEditor(Object baseObject,
int column)
KTableModel.getCellEditor(int, int)
public de.kupzog.ktable.KTableCellRenderer getColumnRenderer(Object baseObject,
int column)
KTableModel.getCellRenderer(int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||