|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.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 HepRepInstanceTree
CloneNotSupportedException
- if copying is not possible.public HepRepInstanceTree copy(HepRepTypeTree typeTree, HepRepSelectFilter filter) throws CloneNotSupportedException
HepRepInstanceTree
copy
in interface HepRepInstanceTree
filter
- to filter the instances.
CloneNotSupportedException
- if copying is not possible.public void addInstance(HepRepInstance instance)
HepRepInstanceTree
addInstance
in interface HepRepInstanceTree
instance
- to be added.public void removeInstance(HepRepInstance instance) throws UnsupportedOperationException
HepRepInstanceTree
removeInstance
in interface HepRepInstanceTree
instance
- to be removed.
UnsupportedOperationException
public List getInstances()
HepRepInstanceTree
getInstances
in interface HepRepInstanceTree
public void addInstanceTree(HepRepTreeID instanceTree)
HepRepInstanceTree
addInstanceTree
in interface HepRepInstanceTree
instanceTree
- related instancetree.public HepRepTreeID getTypeTree()
HepRepInstanceTree
getTypeTree
in interface HepRepInstanceTree
public Set getInstanceTrees()
HepRepInstanceTree
getInstanceTrees
in interface HepRepInstanceTree
public List getInstanceTreeList()
HepRepInstanceTree
getInstanceTreeList
in interface HepRepInstanceTree
public String toString()
toString
in class DefaultHepRepTreeID
public void display(String indent)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |