org.kuali.student.common.ui.client.widgets.table.scroll
Class DefaultTableModel

java.lang.Object
  extended by org.kuali.student.common.ui.client.widgets.table.scroll.AbstractTableModel
      extended by org.kuali.student.common.ui.client.widgets.table.scroll.DefaultTableModel
All Implemented Interfaces:
TableModel

public class DefaultTableModel
extends AbstractTableModel


Field Summary
private  ArrayList<Column> columnList
           
private  int currentRowIndex
           
private  boolean moreData
           
private  boolean multipleSelectable
           
(package private)  Column rowHeader
           
private  ArrayList<Row> rowList
           
private  int sortableColumnCount
           
private  ArrayList<Column> sortedColumnList
           
 
Fields inherited from class org.kuali.student.common.ui.client.widgets.table.scroll.AbstractTableModel
tableModelListenerList
 
Constructor Summary
DefaultTableModel()
           
 
Method Summary
 void addColumn(Column col)
           
 void addRow(Row row)
           
 void clearRows()
           
 Column getColumn(int columnIndex)
           
 int getColumnCount()
           
 int getCurrentIndex()
           
 boolean getMoreData()
           
 Row getRow(int rowIndex)
           
 int getRowCount()
           
 List<Row> getSelectedRows()
           
 void insertColumn(int index, Column col)
           
 void insertRow(int index, Row row)
           
 void installCheckBoxRowHeaderColumn()
           
 boolean isMultipleSelectable()
           
 void selectFirstRow()
           
 void setCurrentIndex(int index)
           
 void setMoreData(boolean hasMoreData)
           
 void setMultipleSelectable(boolean value)
           
 void setSelectedRow(int index)
           
 void sort(Column column)
           
 
Methods inherited from class org.kuali.student.common.ui.client.widgets.table.scroll.AbstractTableModel
addTableModelListener, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInsert, fireTableRowsUpdated, fireTableStructureChanged, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnList

private ArrayList<Column> columnList

rowList

private ArrayList<Row> rowList

sortedColumnList

private ArrayList<Column> sortedColumnList

sortableColumnCount

private int sortableColumnCount

moreData

private boolean moreData

multipleSelectable

private boolean multipleSelectable

currentRowIndex

private int currentRowIndex

rowHeader

Column rowHeader
Constructor Detail

DefaultTableModel

public DefaultTableModel()
Method Detail

installCheckBoxRowHeaderColumn

public void installCheckBoxRowHeaderColumn()

addRow

public void addRow(Row row)

insertRow

public void insertRow(int index,
                      Row row)

addColumn

public void addColumn(Column col)

insertColumn

public void insertColumn(int index,
                         Column col)

isMultipleSelectable

public boolean isMultipleSelectable()

setCurrentIndex

public void setCurrentIndex(int index)

getCurrentIndex

public int getCurrentIndex()

setSelectedRow

public void setSelectedRow(int index)

setMultipleSelectable

public void setMultipleSelectable(boolean value)

setMoreData

public void setMoreData(boolean hasMoreData)

getMoreData

public boolean getMoreData()

getRowCount

public int getRowCount()

sort

public void sort(Column column)

getRow

public Row getRow(int rowIndex)

getSelectedRows

public List<Row> getSelectedRows()

getColumn

public Column getColumn(int columnIndex)

getColumnCount

public int getColumnCount()

clearRows

public void clearRows()

selectFirstRow

public void selectFirstRow()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.