Package com.portal.app.cc
Class CreditLimitModel
java.lang.Object
com.portal.pfc.ui.AbstractTreeTableModel
com.portal.app.cc.CreditLimitModel
- 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 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.voidsetValueAt(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, 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, valueForPathChanged
-
Field Details
-
cNames
-
cTypes
-
-
Constructor Details
-
CreditLimitModel
-
-
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
-
setValueAt
Description copied from class:AbstractTreeTableModelDefault implmentation for method in the TreeModel interface.- Specified by:
setValueAtin interfaceTreeTableModel- Overrides:
setValueAtin classAbstractTreeTableModel
-