Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

org.openquark.gems.client.valueentry
Class AbstractListTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.openquark.gems.client.valueentry.ValueEditorTableModel
          extended by org.openquark.gems.client.valueentry.AbstractListTableModel
All Implemented Interfaces:
Serializable, TableModel
Direct Known Subclasses:
ListTableModelBase

public abstract class AbstractListTableModel
extends ValueEditorTableModel

Common base class for list value editor models.

Author:
Richard Webster
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openquark.gems.client.valueentry.ValueEditorTableModel
valueEditorManager
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
AbstractListTableModel(ValueEditorManager valueEditorManager)
          Constructor for AbstractListTableModel.
 
Method Summary
abstract  void addRow()
          Adds an item to the list.
abstract  int getRowCount()
          Returns the number of rows to display in the list editor.
abstract  void moveRowDown(int row)
          Moves the specified row one down.
abstract  void moveRowUp(int row)
          Moves the specified row one up.
abstract  void removeRow(int row)
          Removes the specified item from the list.
 
Methods inherited from class org.openquark.gems.client.valueentry.ValueEditorTableModel
getColumnClass, getColumnCount, getColumnName, getElementType, getNElements, isCellEditable, setValueAt
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.table.TableModel
getValueAt
 

Constructor Detail

AbstractListTableModel

public AbstractListTableModel(ValueEditorManager valueEditorManager)
Constructor for AbstractListTableModel.

Method Detail

getRowCount

public abstract int getRowCount()
Returns the number of rows to display in the list editor.


addRow

public abstract void addRow()
Adds an item to the list.


moveRowDown

public abstract void moveRowDown(int row)
Moves the specified row one down. Note: Make sure that there is another row under it.


moveRowUp

public abstract void moveRowUp(int row)
Moves the specified row one up. Note: Make sure that there is another row above it.


removeRow

public abstract void removeRow(int row)
Removes the specified item from the list.


Business Objects
Quark Platform Documentation
Version 1.7.0_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.