package org.aswing.table
| sorter | |
| AbstractTableCell | Abstract table cell. |
| AbstractTableModel | This abstract class provides default implementations for most of
the methods in the |
| DefaultTableColumnModel | The standard column-handler for a |
| DefaultTableModel | |
| DefaultTextCell | Default table cell to render text |
| DefaultTextHeaderCell | Default table header cell to render text |
| GeneralTableCellFactory | |
| GeneralTableCellFactoryUIResource | |
| JTableHeader | This is the object which manages the header of the |
| PoorTextCell | A poor table cell to render text faster. |
| PropertyTableModel | The table model return the properties of a row to be column data.
PropertyTableModel is very conveniently to use when your table data can be stored in a list
and each columns can be a property of a object of a row.
data =
[{name:"paling", sex:1, age:26},
{name:"Comeny", sex:0, age:24},
{name:"Tom", sex:1, age:30},
{name:"Lita", sex:0, age:16}
];
Woool, it is very suit for PropertyTableModel to provide data to a JTable to view the datas.
You can create your JTable like this:
var dataList:VectorListModel = new VectorListModel(); dataList.appendAll(data); var tableModel:PropertyTableModel = new PropertyTableModel( |
| PropertyTranslator | Property translator, it return the value of a specified property name. Some property need translate, not directly return the real value, For example a int value for sex, 0 means female, 1 means male, then your can implement your property translator like this:
public function translate(info:Object, key:String):*{ |
| Resizable2 | |
| Resizable2Imp1 | |
| Resizable3 | |
| Resizable3Imp1 | |
| Resizable3Imp2 | |
| SelectablePoorTextCell | Texts in this cell is selectable. |
| TableCell | |
| TableCellEditor | |
| TableCellFactory | TableCellFactory for create cells for table |
| TableColumn | A
It is also possible to specify renderers and editors on a per type basis
rather than a per column basis - see the
The
Note: Some implementations may assume that all
|
| TableColumnModel | Defines the requirements for a table column model object suitable for
use with |
| TableColumnModelEvent | |
| TableColumnModelListener | TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel. |
| TableModel | The |