Skip navigation links


com.essbase.eas.ui.ctable
Class EditTableModelListener

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

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

public class EditTableModelListener
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  int[] cols
           
protected  int ignoreUpdate
           
protected  java.lang.String newRow
           
protected  boolean recalcHeight
           
protected  javax.swing.JTable table
           

 

Constructor Summary
EditTableModelListener(javax.swing.JTable table, int[] cols)
           

 

Method Summary
 void addNewRow()
           
protected  boolean areAllColsEmpty(int row)
           
 void decrementIgnore()
           
 void dispose()
           
protected  void emptyCols(int row)
           
protected  java.lang.String getColValue(int row, int col)
           
protected  java.lang.String getEditString()
           
 int getNewRow()
           
 boolean hasChanged()
           
 void incrementIgnore()
           
protected  boolean isEditableColumn(int col)
           
 boolean isIgnoringUpdate()
           
 boolean isNewRow(int row)
           
 void resetChanged()
           
 void setRecalcRowHeright(boolean recalc)
           
 void tableChanged(javax.swing.event.TableModelEvent e)
           
protected  void tableRowUpdated(int row, int col)
           

 

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

 

Field Detail

ignoreUpdate

protected int ignoreUpdate

newRow

protected java.lang.String newRow

changed

protected boolean changed

table

protected javax.swing.JTable table

cols

protected int[] cols

recalcHeight

protected boolean recalcHeight

Constructor Detail

EditTableModelListener

public EditTableModelListener(javax.swing.JTable table,
                              int[] cols)

Method Detail

tableChanged

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

isEditableColumn

protected boolean isEditableColumn(int col)

getColValue

protected java.lang.String getColValue(int row,
                                       int col)

areAllColsEmpty

protected boolean areAllColsEmpty(int row)

emptyCols

protected void emptyCols(int row)

tableRowUpdated

protected void tableRowUpdated(int row,
                               int col)

isNewRow

public boolean isNewRow(int row)

addNewRow

public void addNewRow()

getNewRow

public int getNewRow()

getEditString

protected java.lang.String getEditString()

incrementIgnore

public void incrementIgnore()

decrementIgnore

public void decrementIgnore()

isIgnoringUpdate

public boolean isIgnoringUpdate()

hasChanged

public boolean hasChanged()

resetChanged

public void resetChanged()

setRecalcRowHeright

public void setRecalcRowHeright(boolean recalc)

dispose

public void dispose()

Skip navigation links


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