public class PendingItemChargeNode extends ItemChargeNode
Modifier and Type | Field and Description |
---|---|
static int |
BILLUNIT |
static int |
EVENT |
static int |
LOGIN |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Constructor and Description |
---|
PendingItemChargeNode(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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabled()
Returns boolean that indicates whether the node is enabled or not.
|
boolean |
isSelected()
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.
|
getAccount, getAmountDue, getBilledARactions, getCharge, getChargesHandle, getDesc, getDiscount, getNetAmount, getUnbilledARactions, isLeaf, setAccount, setAmountDue, setBilledARactions, setCharge, setChargesHandle, setDesc, setDiscount, setNetAmount, setUnbilledARactions, setUserObj, toString
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
public static final int BILLUNIT
public static final int LOGIN
public static final int EVENT
public PendingItemChargeNode(String desc)
desc,
- name of the root node.public PendingItemChargeNode(String desc, int descType, BigDecimal charge, BigDecimal discount, BigDecimal amountDue, String account, PModelHandle pmhItemCharge)
desc
- descType
- charge
- discount
- amountDue
- account
- pmhItemCharge
- public void setSelected(boolean isSelected)
isSelected,
- true if the node is selected.public boolean isSelected()
public void setEnabled(boolean isEnabled)
isEnabled
- public boolean isEnabled()
Copyright © 2003, 2023, Oracle and/or its affiliates.