Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protegex.widget.scatterbox
Class ScatterboxTableModel

    java.lang.Object
      javax.swing.table.AbstractTableModel
          edu.stanford.smi.protegex.widget.scatterbox.ScatterboxTableModel

All Implemented Interfaces:
  Serializable, TableModel

    public class ScatterboxTableModel

extends AbstractTableModel

Stores, and returns, entries.

Author:
  William Grosso
See Also:
  Serialized Form

Field Summary

Fields inherited from class javax.swing.table.AbstractTableModel
`listenerList`

Constructor Summary
`ScatterboxTableModel(ScatterboxWidget widget, KBQueryUtils queryUtilsObject)`

Method Summary
`protected void` | `broadcastChangeAnnouncement()`
`protected void` | `broadcastStructureChangeAnnouncement()`
`Instance` | `createEntry(int row, int column)`
`Instance` | `createEntry(int row, int column, Instance rangeValue)`
`void` | `dispose()`
`int` | `getColumnCount()`
`String` | `getColumnName(int columnIndex)`
`int` | `getRowCount()`
`Object` | `getValueAt(int rowIndex, int columnIndex)`
`boolean` | `isCellEditable(int rowIndex, int columnIndex)`
`void` | `setColumnToOrder(Order order)`
`void` | `setColumnToOrder(String orderName)`
`void` | `setEntries(Collection entries)`
`void` | `setRowToOrder(Order order)`
`void` | `setRowToOrder(String orderName)`
`void` | `setUnderlyingTable(ScatterboxTable underlyingTable)`

Methods inherited from class javax.swing.table.AbstractTableModel
`addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ScatterboxTableModel

    public ScatterboxTableModel(ScatterboxWidget widget,
                                KBQueryUtils queryUtilsObject)

Method Detail

### broadcastChangeAnnouncement

    protected void broadcastChangeAnnouncement()

### broadcastStructureChangeAnnouncement

    protected void broadcastStructureChangeAnnouncement()

### createEntry

    public Instance createEntry(int row,
                                int column)

### createEntry

    public Instance createEntry(int row,
                                int column,
                                Instance rangeValue)

### dispose

    public void dispose()

### getColumnCount

    public int getColumnCount()

### getColumnName

    public String getColumnName(int columnIndex)

  Specified by:
    `getColumnName` in interface `TableModel`
  Overrides:
    `getColumnName` in class `AbstractTableModel`

### getRowCount

    public int getRowCount()

### getValueAt

    public Object getValueAt(int rowIndex,
                             int columnIndex)

### isCellEditable

    public boolean isCellEditable(int rowIndex,
                                  int columnIndex)

  Specified by:
    `isCellEditable` in interface `TableModel`
  Overrides:
    `isCellEditable` in class `AbstractTableModel`

### setColumnToOrder

    public void setColumnToOrder(Order order)

### setColumnToOrder

    public void setColumnToOrder(String orderName)

### setEntries

    public void setEntries(Collection entries)

### setRowToOrder

    public void setRowToOrder(Order order)

### setRowToOrder

    public void setRowToOrder(String orderName)

### setUnderlyingTable

    public void setUnderlyingTable(ScatterboxTable underlyingTable)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.4
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug report or feature request