Package com.portal.app.cc
Class CreditLimitAdjModel
java.lang.Object
com.portal.pfc.ui.AbstractTreeTableModel
com.portal.app.cc.CreditLimitAdjModel
- All Implemented Interfaces:
TreeTableModel
,TreeModel
CreditLimitModel is a TreeTableModel representing a hierarchical services
linked with a particular balance group . Nodes in the CreditLimitModel are BalanceGroupNode
which store the information regarding the service and the associated Device ID along
with the creditlimit amount.
- Author:
- Prameet Savla
-
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
setValueAt
(Object aValue, Object node, int row, int column) Default implmentation for method in the TreeModel interface.Methods inherited from class com.portal.pfc.ui.AbstractTreeTableModel
addTreeModelListener, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getIndexOfChild, getRoot, removeTreeModelListener, 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
-
Field Details
-
cNames
-
cTypes
-
-
Constructor Details
-
CreditLimitAdjModel
-
-
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
-
setValueAt
Description copied from class:AbstractTreeTableModel
Default implmentation for method in the TreeModel interface.- Specified by:
setValueAt
in interfaceTreeTableModel
- Overrides:
setValueAt
in classAbstractTreeTableModel
-