ufolib.fontizer
Class GUI_Application.RangeTableModel

java.lang.Object
  extended byjavax.swing.table.AbstractTableModel
      extended byufolib.fontizer.GUI_Application.RangeTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel
Enclosing class:
GUI_Application

class GUI_Application.RangeTableModel
extends javax.swing.table.AbstractTableModel


Field Summary
private  boolean editable12
           
private  GUI_Application m_guiapp
           
private  FontRange m_range
           
private  javax.swing.JTable m_table
           
private  boolean multiselect
           
private  boolean singleselect
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
GUI_Application.RangeTableModel(boolean multiselect, boolean singleselect, GUI_Application guiapp, javax.swing.JTable table)
           
 
Method Summary
 java.lang.Class getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 java.lang.String getColumnName(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int column)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setRange(FontRange range, GUI_Application app)
           
 void setValueAt(java.lang.Object value, int row, int col)
          called by GUI after editing cell ?!
 
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
 

Field Detail

multiselect

private boolean multiselect

singleselect

private boolean singleselect

editable12

private boolean editable12

m_range

private FontRange m_range

m_guiapp

private GUI_Application m_guiapp

m_table

private javax.swing.JTable m_table
Constructor Detail

GUI_Application.RangeTableModel

public GUI_Application.RangeTableModel(boolean multiselect,
                                       boolean singleselect,
                                       GUI_Application guiapp,
                                       javax.swing.JTable table)
Method Detail

setRange

public void setRange(FontRange range,
                     GUI_Application app)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
called by GUI after editing cell ?!


getValueAt

public java.lang.Object getValueAt(int row,
                                   int column)

getColumnName

public java.lang.String getColumnName(int column)

getColumnClass

public java.lang.Class getColumnClass(int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)