|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.DefaultTableColumnModel
org.crosswire.common.swing.RowColumns
public abstract class RowColumns
Defines the prototypes needed to display a RowTable. Also defines some column indexed concrete methods to access the prototypes.
Field Summary |
---|
Fields inherited from class javax.swing.table.DefaultTableColumnModel |
---|
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth |
Constructor Summary | |
---|---|
RowColumns()
|
Method Summary | |
---|---|
int |
getCharacterWidth(int columnIndex)
Method getCharacterWidth gets the width of the column, expressed in Standard Characters |
abstract int[] |
getCharacterWidths()
Method getCharacterWidths gets the widths of all the columns, expressed in Standard Width Characters. |
Class |
getClass(int columnIndex)
Method getClass gets the class of a given column |
abstract Class[] |
getClasses()
Method getClasses indicates the type of the data in a column |
int |
getCount()
Method getCount is the number of columns in the table. |
abstract boolean[] |
getFixedWidths()
Method getFixedWidths gives whether a column is not resizable (true) or resizable (false) |
abstract String[] |
getHeaders()
Method getHeaders gets the headers for all the columns |
String |
getHeaderToolTip(int columnIndex)
Method getClass gets the class of a given column |
abstract String[] |
getHeaderToolTips()
Method getHeaderToolTips gets the tooltips for the headers for all the columns |
String |
getName(int columnIndex)
Method getName gets the header for the given column |
abstract int[] |
getSortKeys()
Method getSortKeys returns the primary (array of size 1) or composite key (size > 1) used for default sorting and for secondary sorting. |
abstract String |
getTableName()
Method getTableName provides the string for a Titled Border. |
abstract Object |
getValueAt(Object row,
int columnIndex)
Method getValueAt gets the contents of a cell from a row. |
boolean |
isFixedWidth(int columnIndex)
Method isFixedWidth indicates whether a column is fixed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowColumns()
Method Detail |
---|
public abstract String[] getHeaders()
public abstract String[] getHeaderToolTips()
public abstract int[] getCharacterWidths()
public abstract boolean[] getFixedWidths()
public abstract Class[] getClasses()
public abstract int[] getSortKeys()
public abstract Object getValueAt(Object row, int columnIndex)
row
- the rowcolumnIndex
- int
public abstract String getTableName()
public int getCount()
public Class getClass(int columnIndex)
columnIndex
- int
public String getName(int columnIndex)
columnIndex
- int
public String getHeaderToolTip(int columnIndex)
columnIndex
- int
public boolean isFixedWidth(int columnIndex)
columnIndex
- int
public int getCharacterWidth(int columnIndex)
columnIndex
- int
|
Copyright ? 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |