Package com.portal.app.cc
Class PendingItemChargeNode
java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
com.portal.app.cc.ItemChargeNode
com.portal.app.cc.PendingItemChargeNode
- All Implemented Interfaces:
Serializable
,Cloneable
,MutableTreeNode
,TreeNode
Node used during flexible bill now.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
Constructor Summary
ConstructorsConstructorDescriptionPendingItemChargeNode
(String desc) This constructor is used to create the root node.PendingItemChargeNode
(String desc, int descType, BigDecimal charge, BigDecimal discount, BigDecimal amountDue, String account, PModelHandle pmhItemCharge) This construtor is used to create the nodes other than the root node. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns boolean that indicates whether the node is enabled or not.boolean
Returns whether the node is selected or not.void
setEnabled
(boolean isEnabled) This will be set as true if the check box column needs to be enabled.void
setSelected
(boolean isSelected) This will be set as true when the node is selected using the check box.Methods inherited from class com.portal.app.cc.ItemChargeNode
getAccount, getAmountDue, getBilledARactions, getCharge, getChargesHandle, getDesc, getDiscount, getNetAmount, getUnbilledARactions, isLeaf, setAccount, setAmountDue, setBilledARactions, setCharge, setChargesHandle, setDesc, setDiscount, setNetAmount, setUnbilledARactions, setUserObj, toString
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
-
Field Details
-
BILLUNIT
public static final int BILLUNIT- See Also:
-
LOGIN
public static final int LOGIN- See Also:
-
EVENT
public static final int EVENT- See Also:
-
-
Constructor Details
-
PendingItemChargeNode
This constructor is used to create the root node.- Parameters:
desc
- , name of the root node.
-
PendingItemChargeNode
public PendingItemChargeNode(String desc, int descType, BigDecimal charge, BigDecimal discount, BigDecimal amountDue, String account, PModelHandle pmhItemCharge) This construtor is used to create the nodes other than the root node.- Parameters:
desc
-descType
-charge
-discount
-amountDue
-account
-pmhItemCharge
-
-
-
Method Details
-
setSelected
public void setSelected(boolean isSelected) This will be set as true when the node is selected using the check box.- Parameters:
isSelected
- , true if the node is selected.
-
isSelected
public boolean isSelected()Returns whether the node is selected or not.- Returns:
- boolean.
-
setEnabled
public void setEnabled(boolean isEnabled) This will be set as true if the check box column needs to be enabled.- Parameters:
isEnabled
-
-
isEnabled
public boolean isEnabled()Returns boolean that indicates whether the node is enabled or not.- Returns:
-