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 TypeMethodDescriptionint
getChildCount
(Object node) getColumnClass
(int column) Default implmentation for method in the TreeModel interface.int
Returns 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
.boolean
isCellEditable
(Object node, int column) By default, make the column with the Tree in it the only editable one.boolean
Default implmentation for method in the TreeModel interface.void
Methods inherited from class com.portal.pfc.ui.AbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, removeTreeModelListener, setValueAt, valueForPathChanged
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, getIndexOfChild, getRoot, removeTreeModelListener, valueForPathChanged
Methods inherited from interface com.portal.pfc.ui.TreeTableModel
setValueAt
-
Field Details
-
cNames
-
cTypes
-
-
Constructor Details
-
NonCurrencyModel
-
-
Method Details
-
getChildCount
- Specified by:
getChildCount
in interfaceTreeModel
-
getChild
-
isLeaf
Description copied from class:AbstractTreeTableModel
Default implmentation for method in the TreeModel interface.- Specified by:
isLeaf
in interfaceTreeModel
- Overrides:
isLeaf
in classAbstractTreeTableModel
-
getColumnCount
public int getColumnCount()Description copied from interface:TreeTableModel
Returns the number ofs availible column.- Specified by:
getColumnCount
in interfaceTreeTableModel
-
getColumnName
Description copied from interface:TreeTableModel
Returns the name for column numbercolumn
.- Specified by:
getColumnName
in interfaceTreeTableModel
-
getColumnClass
Description copied from class:AbstractTreeTableModel
Default implmentation for method in the TreeModel interface.- Specified by:
getColumnClass
in interfaceTreeTableModel
- Overrides:
getColumnClass
in classAbstractTreeTableModel
-
isCellEditable
Description copied from class:AbstractTreeTableModel
By 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:
isCellEditable
in interfaceTreeTableModel
- Overrides:
isCellEditable
in classAbstractTreeTableModel
-
getValueAt
Description copied from interface:TreeTableModel
Returns the value to be displayed for nodenode
, at column numbercolumn
.- Specified by:
getValueAt
in interfaceTreeTableModel
-
setModel
-