| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.graphics.heprep.ref.DefaultHepRepTreeID
hep.graphics.heprep.ref.DefaultHepRepInstanceTree
| Field Summary | |
| static String | cvsId | 
| Constructor Summary | |
| protected  | DefaultHepRepInstanceTree(String name,
                          String version,
                          HepRepTreeID typeTree) | 
| Method Summary | |
|  void | addInstance(HepRepInstance instance)Adds an instance to this instancetree. | 
|  void | addInstanceTree(HepRepTreeID instanceTree)Adds a related instance tree to this instancetree. | 
|  HepRepInstanceTree | copy(HepRepTypeTree typeTree)Returns a deep copy of this instancetree. | 
|  HepRepInstanceTree | copy(HepRepTypeTree typeTree,
     HepRepSelectFilter filter)Returns a deep copy of this instancetree. | 
|  void | display(String indent) | 
|  List | getInstances()Returns a collection of instances. | 
|  List | getInstanceTreeList()Returns a collection of associated instance trees. | 
|  Set | getInstanceTrees()Returns a collection of associated instance trees. | 
|  HepRepTreeID | getTypeTree()Returns the associated typetree. | 
|  void | overlay(HepRepInstanceTree instanceTree)Overlays the instance tree on the current tree. | 
|  void | removeInstance(HepRepInstance instance)Removes an instance from this instancetree. | 
|  String | toString() | 
| Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepTreeID | 
| equals, getName, getQualifier, getVersion, hashCode, setQualifier | 
| Methods inherited from class java.lang.Object | 
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Methods inherited from interface hep.graphics.heprep.HepRepTreeID | 
| getName, getQualifier, getVersion, setQualifier | 
| Field Detail | 
public static final String cvsId
| Constructor Detail | 
protected DefaultHepRepInstanceTree(String name,
                                    String version,
                                    HepRepTreeID typeTree)
| Method Detail | 
public void overlay(HepRepInstanceTree instanceTree)
HepRepInstanceTree
overlay in interface HepRepInstanceTree
public HepRepInstanceTree copy(HepRepTypeTree typeTree)
                        throws CloneNotSupportedException
HepRepInstanceTree
copy in interface HepRepInstanceTreeCloneNotSupportedException - if copying is not possible.
public HepRepInstanceTree copy(HepRepTypeTree typeTree,
                               HepRepSelectFilter filter)
                        throws CloneNotSupportedException
HepRepInstanceTree
copy in interface HepRepInstanceTreefilter - to filter the instances.
CloneNotSupportedException - if copying is not possible.public void addInstance(HepRepInstance instance)
HepRepInstanceTree
addInstance in interface HepRepInstanceTreeinstance - to be added.
public void removeInstance(HepRepInstance instance)
                    throws UnsupportedOperationException
HepRepInstanceTree
removeInstance in interface HepRepInstanceTreeinstance - to be removed.
UnsupportedOperationExceptionpublic List getInstances()
HepRepInstanceTree
getInstances in interface HepRepInstanceTreepublic void addInstanceTree(HepRepTreeID instanceTree)
HepRepInstanceTree
addInstanceTree in interface HepRepInstanceTreeinstanceTree - related instancetree.public HepRepTreeID getTypeTree()
HepRepInstanceTree
getTypeTree in interface HepRepInstanceTreepublic Set getInstanceTrees()
HepRepInstanceTree
getInstanceTrees in interface HepRepInstanceTreepublic List getInstanceTreeList()
HepRepInstanceTree
getInstanceTreeList in interface HepRepInstanceTreepublic String toString()
toString in class DefaultHepRepTreeIDpublic void display(String indent)
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||