All Packages Class Hierarchy This Package Previous Next Index
Class uhr.core.cell.PartUserHandler
java.lang.Object
|
+----uhr.core.cell.PartUserHandler
- public class PartUserHandler
- extends Object
- implements Serializable
This class handles the optionl PartUser interface for parts.
-
PartUserHandler(Container)
- Creates a new instance with the provided node.
-
checkPart(Object,
String)
- Handles the PartUser optional interface.
PartUserHandler
public PartUserHandler(Container container)
- Creates a new instance with the provided node. This is the node
used by the instance for looking up parts. The argument could
become a PartFinder interface or such.
- Parameters:
- container - the container node, aka the cell, to use
for
findPart(String partName).
checkPart
public void checkPart(Object part,
String partName)
- Handles the PartUser optional interface. This is done in
a manner that allows parts to be added in any order.
If a PartUser's needs are never met, no exception or
such is thrown, and the part will probably error out
when it needs the missing part. This can be corrected
by cell DK analysis.
- Parameters:
- part - the part that might implement PartUser.
- partName - the part's name.
All Packages Class Hierarchy This Package Previous Next Index