org.apache.struts2.components.table
Interface SortableTableModel

All Superinterfaces:
TableModel
All Known Implementing Classes:
SortFilterModel

public interface SortableTableModel
extends TableModel


Field Summary
static String ASC
           
static String DESC
           
static String NONE
           
 
Method Summary
 int getSortedColumnNumber()
           
 String getSortedDirection(int columnNumber)
           
 void sort(int columnNumber, String direction)
           
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Field Detail

NONE

static final String NONE
See Also:
Constant Field Values

ASC

static final String ASC
See Also:
Constant Field Values

DESC

static final String DESC
See Also:
Constant Field Values
Method Detail

getSortedColumnNumber

int getSortedColumnNumber()

getSortedDirection

String getSortedDirection(int columnNumber)

sort

void sort(int columnNumber,
          String direction)


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.