package org.aswing.table

sorter
AbstractTableCell

Abstract table cell.

AbstractTableModel

This abstract class provides default implementations for most of the methods in the TableModel interface. It takes care of the management of listeners and provides some conveniences for generating TableModelEvents and dispatching them to the listeners. To create a concrete TableModel as a subclass of AbstractTableModel you need only provide implementations for the following three methods:

DefaultTableColumnModel

The standard column-handler for a JTable.

DefaultTableModel

Authors

  • paling

DefaultTextCell

Default table cell to render text

DefaultTextHeaderCell

Default table header cell to render text

GeneralTableCellFactory

Authors

  • paling

GeneralTableCellFactoryUIResource

Authors

  • paling

JTableHeader

This is the object which manages the header of the JTable.

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.
For example, you can a data like this:

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

Authors

  • paling

Resizable2Imp1

Authors

  • paling

Resizable3

Authors

  • paling

Resizable3Imp1

Authors

  • paling

Resizable3Imp2

Authors

  • paling

SelectablePoorTextCell

Texts in this cell is selectable.

TableCell

Authors

  • paling

TableCellEditor

Authors

  • paling

TableCellFactory

TableCellFactory for create cells for table

TableColumn

A TableColumn represents all the attributes of a column in a JTable, such as width, resizibility, minimum and maximum width. In addition, the TableColumn provides slots for a renderer and an editor that can be used to display and edit the values in this column.

It is also possible to specify renderers and editors on a per type basis rather than a per column basis - see the setDefaultRenderer method in the JTable class. This default mechanism is only used when the renderer (or editor) in the TableColumn is null.

The TableColumn stores the link between the columns in the JTable and the columns in the TableModel. The modelIndex is the column in the TableModel, which will be queried for the data values for the cells in this column. As the column moves around in the view this modelIndex does not change.

Note: Some implementations may assume that all TableColumnModels are unique, therefore we would recommend that the same TableColumn instance not be added more than once to a TableColumnModel. To show TableColumns with the same column of data from the model, create a new instance with the same modelIndex.

TableColumnModel

Defines the requirements for a table column model object suitable for use with JTable.

TableColumnModelEvent

Authors

  • paling

TableColumnModelListener

TableColumnModelListener defines the interface for an object that listens to changes in a TableColumnModel.

TableModel

The TableModel interface specifies the methods the JTable will use to interrogate a tabular data model.