Skip navigation links


com.essbase.eas.ui.ctable
Class CTableRowModelListener

java.lang.Object
  extended by com.essbase.eas.ui.ctable.CTableRowModelListener

All Implemented Interfaces:
java.util.EventListener, javax.swing.event.TableModelListener

public class CTableRowModelListener
extends java.lang.Object
implements javax.swing.event.TableModelListener

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Field Summary
protected  boolean changed
           
protected  java.lang.String editString
           
protected  int ignoreUpdate
           
protected  int insertRow
           
protected  javax.swing.table.DefaultTableModel model
           
protected  javax.swing.JTable table
           

 

Constructor Summary
CTableRowModelListener(javax.swing.JTable table, java.lang.String editString)
           

 

Method Summary
protected  void addNewRow()
           
 void dispose()
           
protected  int getNewRow()
           
protected  boolean isCellEditable(javax.swing.table.DefaultTableModel model, int col)
           
 boolean isChanged()
           
protected  boolean isRowEmpty(javax.swing.table.TableModel model, int row)
           
 void setChanged(boolean changed)
           
 void setEditString(java.lang.String editString)
           
 void setInsertRow(int row)
           
 void setTable(javax.swing.JTable table)
           
 void tableChanged(javax.swing.event.TableModelEvent e)
           

 

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

 

Field Detail

table

protected javax.swing.JTable table

model

protected javax.swing.table.DefaultTableModel model

editString

protected java.lang.String editString

ignoreUpdate

protected int ignoreUpdate

changed

protected boolean changed

insertRow

protected int insertRow

Constructor Detail

CTableRowModelListener

public CTableRowModelListener(javax.swing.JTable table,
                              java.lang.String editString)

Method Detail

setEditString

public void setEditString(java.lang.String editString)

setTable

public void setTable(javax.swing.JTable table)

tableChanged

public void tableChanged(javax.swing.event.TableModelEvent e)
Specified by:
tableChanged in interface javax.swing.event.TableModelListener

isRowEmpty

protected boolean isRowEmpty(javax.swing.table.TableModel model,
                             int row)

addNewRow

protected void addNewRow()

setChanged

public void setChanged(boolean changed)

isChanged

public boolean isChanged()

getNewRow

protected int getNewRow()

isCellEditable

protected boolean isCellEditable(javax.swing.table.DefaultTableModel model,
                                 int col)

setInsertRow

public void setInsertRow(int row)

dispose

public void dispose()

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.