wt.query.report
Class DefaultGroupTableModel

java.lang.Object
  extended bywt.query.report.WTDefaultTableModel
      extended bywt.query.report.DefaultGroupTableModel
All Implemented Interfaces:
Serializable, TableModel

public class DefaultGroupTableModel
extends WTDefaultTableModel

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  TableModel dataModel
           
static boolean DEBUG
           
private  TableModel defaultModel
           
private static DebugWriter LOG
           
 
Fields inherited from class wt.query.report.WTDefaultTableModel
 
Constructor Summary
DefaultGroupTableModel(TableModel a_dataModel, TableModel a_defaultModel)
           
 
Method Summary
protected  boolean dataModelColumnEquals(int defaultRowIndex, int rowIndex, int lastColumnIndex)
           
protected  int findDataModelValue(int rowIndex, int lastColumnIndex)
           
protected  int findDataModelValue(int defaultRowIndex, int beginRowIndex, int endRowIndex, int lastColumnIndex)
           
 Class getColumnClass(int columnIndex)
          Always returns the Object class.
 int getColumnCount()
          Always return 0;
 String getColumnName(int columnIndex)
          Always returns an empty String.
 int getRowCount()
          Always returns 0.
 Object getValueAt(int rowIndex, int columnIndex)
          Always returns null.
 
Methods inherited from class wt.query.report.WTDefaultTableModel
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASSNAME

private static final String CLASSNAME

DEBUG

public static final boolean DEBUG

LOG

private static final DebugWriter LOG

dataModel

private TableModel dataModel

defaultModel

private TableModel defaultModel
Constructor Detail

DefaultGroupTableModel

public DefaultGroupTableModel(TableModel a_dataModel,
                              TableModel a_defaultModel)
Method Detail

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Description copied from class: WTDefaultTableModel
Always returns null.

Specified by:
getValueAt in interface TableModel
Overrides:
getValueAt in class WTDefaultTableModel
Parameters:
rowIndex - - Not used.
columnIndex - - Not used.
Returns:
Always returns null.

getRowCount

public int getRowCount()
Description copied from class: WTDefaultTableModel
Always returns 0.

Specified by:
getRowCount in interface TableModel
Overrides:
getRowCount in class WTDefaultTableModel
Returns:
Always returns 0.

getColumnCount

public int getColumnCount()
Description copied from class: WTDefaultTableModel
Always return 0;

Specified by:
getColumnCount in interface TableModel
Overrides:
getColumnCount in class WTDefaultTableModel
Returns:
Always returns 0;

getColumnName

public String getColumnName(int columnIndex)
Description copied from class: WTDefaultTableModel
Always returns an empty String.

Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class WTDefaultTableModel
Parameters:
columnIndex - - Not used.
Returns:
Always returns an empty String.

getColumnClass

public Class getColumnClass(int columnIndex)
Description copied from class: WTDefaultTableModel
Always returns the Object class.

Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class WTDefaultTableModel
Parameters:
columnIndex - - Not used.
Returns:
Always returns the Object class.

findDataModelValue

protected int findDataModelValue(int rowIndex,
                                 int lastColumnIndex)

findDataModelValue

protected int findDataModelValue(int defaultRowIndex,
                                 int beginRowIndex,
                                 int endRowIndex,
                                 int lastColumnIndex)

dataModelColumnEquals

protected boolean dataModelColumnEquals(int defaultRowIndex,
                                        int rowIndex,
                                        int lastColumnIndex)