Class PendingItemChargeNode

All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public class PendingItemChargeNode extends ItemChargeNode
Node used during flexible bill now.
See Also:
  • Field Details

  • Constructor Details

    • PendingItemChargeNode

      public PendingItemChargeNode(String desc)
      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: