Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.uicli.jui
Class JUTableBinding.JUTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byoracle.jbo.uicli.jui.JUTableBinding.JUTableModel
All Implemented Interfaces:
javax.swing.event.ChangeListener, java.util.EventListener, javax.swing.event.ListSelectionListener, java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
JUTableBinding

protected class JUTableBinding.JUTableModel
extends javax.swing.table.AbstractTableModel
implements javax.swing.event.ListSelectionListener, javax.swing.event.ChangeListener

This TableModel is used by JUTableBinding to perform updates of the JTable control to which it is bound. This class is responsible for:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Method Summary
 java.lang.Class getColumnClass(int attrIndex)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int attrIndex)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int rowIndex, int attrIndex)
           
 boolean isCellEditable(int rowIndex, int attrIndex)
           
 void setValueAt(java.lang.Object value, int rowIndex, int attrIndex)
           
 void stateChanged(javax.swing.event.ChangeEvent event)
           
 void valueChanged(javax.swing.event.ListSelectionEvent event)
           
 
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
 

Method Detail

getColumnName

public java.lang.String getColumnName(int attrIndex)
Specified by:
getColumnName in interface javax.swing.table.TableModel

getColumnClass

public java.lang.Class getColumnClass(int attrIndex)
Specified by:
getColumnClass in interface javax.swing.table.TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface javax.swing.table.TableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int attrIndex)
Specified by:
isCellEditable in interface javax.swing.table.TableModel

getValueAt

public java.lang.Object getValueAt(int rowIndex,
                                   int attrIndex)
Specified by:
getValueAt in interface javax.swing.table.TableModel

setValueAt

public void setValueAt(java.lang.Object value,
                       int rowIndex,
                       int attrIndex)
Specified by:
setValueAt in interface javax.swing.table.TableModel

valueChanged

public void valueChanged(javax.swing.event.ListSelectionEvent event)
Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener

stateChanged

public void stateChanged(javax.swing.event.ChangeEvent event)
Specified by:
stateChanged in interface javax.swing.event.ChangeListener

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

Copyright © 1997, 2004, Oracle. All rights reserved.