Skip navigation links


com.essbase.eas.ui.ctable
Class CTreeTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by javax.swing.table.DefaultTableModel
          extended by com.essbase.eas.ui.ctable.CTreeTableModel

All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class CTreeTableModel
extends javax.swing.table.DefaultTableModel

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

Version:
1.0
Author:
Sree Menon
See Also:
Serialized Form

Field Summary
static int ColTypeCheck
           
static int ColTypeDate
           
static int ColTypeInteger
           
static int ColTypeNumber
           
static int ColTypeOption
           
static int ColTypeString
           

 

Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector

 

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList

 

Constructor Summary
CTreeTableModel(javax.swing.JTree tree)
           

 

Method Summary
 int getColumnAlignment(int column)
           
 java.lang.Class getColumnClass(int column)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 boolean isCellEditable(int row, int col)
           
 boolean isEditable()
           
 void setColumnAlignment(int column, int alignment)
           
 void setColumnName(int col, java.lang.String colName)
           
 void setEditable(boolean bEditable)
           
 void setMaxColumns(int columns)
           

 

Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt

 

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

ColTypeString

public static final int ColTypeString
See Also:
Constant Field Values

ColTypeInteger

public static final int ColTypeInteger
See Also:
Constant Field Values

ColTypeNumber

public static final int ColTypeNumber
See Also:
Constant Field Values

ColTypeDate

public static final int ColTypeDate
See Also:
Constant Field Values

ColTypeCheck

public static final int ColTypeCheck
See Also:
Constant Field Values

ColTypeOption

public static final int ColTypeOption
See Also:
Constant Field Values

Constructor Detail

CTreeTableModel

public CTreeTableModel(javax.swing.JTree tree)

Method Detail

getColumnClass

public java.lang.Class getColumnClass(int column)
Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel

setMaxColumns

public void setMaxColumns(int columns)

setColumnName

public void setColumnName(int col,
                          java.lang.String colName)

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Specified by:
getValueAt in interface javax.swing.table.TableModel
Overrides:
getValueAt in class javax.swing.table.DefaultTableModel

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface javax.swing.table.TableModel
Overrides:
getRowCount in class javax.swing.table.DefaultTableModel

setEditable

public void setEditable(boolean bEditable)

isEditable

public boolean isEditable()

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.DefaultTableModel

getColumnAlignment

public int getColumnAlignment(int column)

setColumnAlignment

public void setColumnAlignment(int column,
                               int alignment)

Skip navigation links


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