Package com.portal.app.cc
Class NonCurrencyModel
java.lang.Object
com.portal.pfc.ui.AbstractTreeTableModel
com.portal.app.cc.NonCurrencyModel
- All Implemented Interfaces:
TreeTableModel,TreeModel
NonCurrencyModel is a TreeTableModel representing a hierarchical Balance Group and their
Resources . Nodes in the NonCurrencyModel are NonCurrencyNode
which store the information regarding the Balance Group and the associated Resource along
with the creditlimit amount.
- Author:
- Smruti
-
Field Summary
FieldsFields inherited from class com.portal.pfc.ui.AbstractTreeTableModel
listenerList, root -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetChildCount(Object node) getColumnClass(int column) Default implmentation for method in the TreeModel interface.intReturns the number ofs availible column.getColumnName(int column) Returns the name for column numbercolumn.getValueAt(Object node, int column) Returns the value to be displayed for nodenode, at column numbercolumn.booleanisCellEditable(Object node, int column) By default, make the column with the Tree in it the only editable one.booleanDefault implmentation for method in the TreeModel interface.voidMethods inherited from class com.portal.pfc.ui.AbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, removeTreeModelListener, setValueAt, valueForPathChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getIndexOfChild, getRoot, removeTreeModelListener, valueForPathChangedMethods inherited from interface com.portal.pfc.ui.TreeTableModel
setValueAt
-
Field Details
-
cNames
-
cTypes
-
-
Constructor Details
-
NonCurrencyModel
-
-
Method Details
-
getChildCount
- Specified by:
getChildCountin interfaceTreeModel
-
getChild
-
isLeaf
Description copied from class:AbstractTreeTableModelDefault implmentation for method in the TreeModel interface.- Specified by:
isLeafin interfaceTreeModel- Overrides:
isLeafin classAbstractTreeTableModel
-
getColumnCount
public int getColumnCount()Description copied from interface:TreeTableModelReturns the number ofs availible column.- Specified by:
getColumnCountin interfaceTreeTableModel
-
getColumnName
Description copied from interface:TreeTableModelReturns the name for column numbercolumn.- Specified by:
getColumnNamein interfaceTreeTableModel
-
getColumnClass
Description copied from class:AbstractTreeTableModelDefault implmentation for method in the TreeModel interface.- Specified by:
getColumnClassin interfaceTreeTableModel- Overrides:
getColumnClassin classAbstractTreeTableModel
-
isCellEditable
Description copied from class:AbstractTreeTableModelBy default, make the column with the Tree in it the only editable one. Making this column editable causes the JTable to forward mouse and keyboard events in the Tree column to the underlying JTree.- Specified by:
isCellEditablein interfaceTreeTableModel- Overrides:
isCellEditablein classAbstractTreeTableModel
-
getValueAt
Description copied from interface:TreeTableModelReturns the value to be displayed for nodenode, at column numbercolumn.- Specified by:
getValueAtin interfaceTreeTableModel
-
setModel
-