p3j.gui.panels.matrices
Class GridHeaderModel
java.lang.Object
net.sf.jeppers.grid.AbstractGridModel
p3j.gui.panels.matrices.GridHeaderModel
- All Implemented Interfaces:
- net.sf.jeppers.grid.GridModel
public class GridHeaderModel
- extends net.sf.jeppers.grid.AbstractGridModel
A model implementation for grid headers. Applies to both row and column
headers.
Created on January 14, 2007
- Author:
- Christina Bohk, Roland Ewald
Fields inherited from class net.sf.jeppers.grid.AbstractGridModel |
listenerList |
Constructor Summary |
GridHeaderModel(net.sf.jeppers.grid.RulerModel columnModel,
String pref,
boolean sw1,
boolean isCol)
Default constructor. |
Methods inherited from class net.sf.jeppers.grid.AbstractGridModel |
addGridModelListener, fireGridCellUpdated, fireGridChanged, fireGridColumnsDeleted, fireGridColumnsInserted, fireGridColumnsUpdated, fireGridModelChanged, fireGridRowsDeleted, fireGridRowsInserted, fireGridRowsUpdated, getListeners, removeGridModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GridHeaderModel
public GridHeaderModel(net.sf.jeppers.grid.RulerModel columnModel,
String pref,
boolean sw1,
boolean isCol)
- Default constructor.
- Parameters:
columnModel
- column modelpref
- prefixsw1
- flag to indicate whether enumeration starts with 1isCol
- true, if this header model is for a column
getValueAt
public Object getValueAt(int row,
int column)
isCellEditable
public boolean isCellEditable(int row,
int column)
setValueAt
public void setValueAt(Object value,
int row,
int column)
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
Copyright © 2012. All Rights Reserved.