org.eevolution.form.bom
Class BOMTreeFactory
java.lang.Object
org.eevolution.form.bom.BOMTreeFactory
- All Implemented Interfaces:
- BOMTreeModel
public abstract class BOMTreeFactory
- extends Object
- implements BOMTreeModel
- Version:
- 1.0, October 14th 2005
- Author:
- Gunther Hoppe, tranSIT GmbH Ilmenau/Germany
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tree
protected JTree tree
mapping
protected HashMap mapping
msg
protected BOMMessenger msg
BOMTreeFactory
public BOMTreeFactory()
type
protected abstract String type()
get
public static BOMTreeModel get(String bomType,
PO po,
StorageReasoner reasoner)
buildTree
protected void buildTree(PO po,
StorageReasoner reasoner)
buildStructure
protected DefaultMutableTreeNode buildStructure(PO po,
StorageReasoner reasoner)
getNode
protected DefaultMutableTreeNode getNode(BOMWrapper bom,
BigDecimal qty,
HashMap map)
addLeafs
protected DefaultMutableTreeNode addLeafs(MProduct M_Product,
BigDecimal qty,
HashMap map)
getTreeNodeRepresentation
protected String getTreeNodeRepresentation(DefaultMutableTreeNode node)
getTree
public JTree getTree()
- Specified by:
getTree in interface BOMTreeModel
getNodeMapping
public HashMap getNodeMapping()
- Specified by:
getNodeMapping in interface BOMTreeModel
getBOMMessenger
public BOMMessenger getBOMMessenger()
- Specified by:
getBOMMessenger in interface BOMTreeModel
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.