uic.pjava.widgets.table
Class DefaultTableRow
java.lang.Object
uic.pjava.widgets.table.DefaultTableRow
- All Implemented Interfaces:
- TableRow
public class DefaultTableRow
- extends Object
- implements TableRow
AWT Based Table component, one single row default implementation
Warning: Use of this component directly can be dangerous...
API is absolutely going to change in the near future
Method Summary |
int |
compareTo(TableRow other,
int column)
|
boolean |
editCell(int column,
int x,
int y)
|
int |
getColumnWidth(int column,
Font f)
|
int |
getHeight()
|
Object |
getValueAt(int column)
|
protected void |
paintBoolean(Graphics g,
Rectangle r,
boolean value)
|
void |
paintColumn(Graphics g,
int column,
int width,
boolean selected)
|
void |
setValueAt(Object value,
int column)
|
String |
toString()
|
DefaultTableRow
public DefaultTableRow(Object[] rowData)
paintColumn
public void paintColumn(Graphics g,
int column,
int width,
boolean selected)
- Specified by:
paintColumn
in interface TableRow
paintBoolean
protected void paintBoolean(Graphics g,
Rectangle r,
boolean value)
getHeight
public int getHeight()
- Specified by:
getHeight
in interface TableRow
getValueAt
public Object getValueAt(int column)
- Specified by:
getValueAt
in interface TableRow
setValueAt
public void setValueAt(Object value,
int column)
- Specified by:
setValueAt
in interface TableRow
editCell
public boolean editCell(int column,
int x,
int y)
- Specified by:
editCell
in interface TableRow
getColumnWidth
public int getColumnWidth(int column,
Font f)
- Specified by:
getColumnWidth
in interface TableRow
compareTo
public int compareTo(TableRow other,
int column)
- Specified by:
compareTo
in interface TableRow
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence