|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HepRepInstance interface.
Field Summary |
Fields inherited from interface hep.graphics.heprep.HepRepConstants |
SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN |
Method Summary | |
void |
addInstance(HepRepInstance instance)
Adds an sub-instance to this instance. |
void |
addPoint(HepRepPoint point)
Adds a point to this instance. |
HepRepInstance |
copy(HepRep heprep,
HepRepInstance parent)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRep heprep,
HepRepInstance parent,
HepRepSelectFilter filter)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRep heprep,
HepRepInstanceTree parent)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRep heprep,
HepRepInstanceTree parent,
HepRepSelectFilter filter)
Returns a deep copy of this instance. |
Collection |
getInstances()
Returns a collection of all sub-instances this instance keeps. |
Collection |
getPoints()
Returns a collection of all points this instance keeps. |
HepRepType |
getType()
Returns the associated type for this instance. |
Object |
getUserObject()
Returns a user object previously set on this instance. |
void |
removeInstance(HepRepInstance instance)
Removes a sub-instance from this instance. |
void |
setUserObject(Object object)
Sets a User Object on this instance. |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Method Detail |
public void addInstance(HepRepInstance instance) throws IOException
instance
- sub-instance.
IOException
- only if written immediately to a stream.public void removeInstance(HepRepInstance instance)
instance
- sub-instance.public Collection getInstances()
public HepRepType getType()
public void addPoint(HepRepPoint point) throws IOException
point
- to be added.
IOException
- only if written immediately to a stream.public Collection getPoints()
public HepRepInstance copy(HepRep heprep, HepRepInstance parent) throws CloneNotSupportedException
heprep
- needed to find the associated type.parent
- to which the copy is added.
CloneNotSupportedException
- if copying is not possible.public HepRepInstance copy(HepRep heprep, HepRepInstance parent, HepRepSelectFilter filter) throws CloneNotSupportedException
heprep
- needed to find the associated type.parent
- to which the copy is added.filter
- run on all instances before copying.
CloneNotSupportedException
- if copying is not possible.public HepRepInstance copy(HepRep heprep, HepRepInstanceTree parent) throws CloneNotSupportedException
heprep
- needed to find the associated type.parent
- to which the copy is added.
CloneNotSupportedException
- if copying is not possible.public HepRepInstance copy(HepRep heprep, HepRepInstanceTree parent, HepRepSelectFilter filter) throws CloneNotSupportedException
heprep
- needed to find the associated type.parent
- to which the copy is added.filter
- run on all instances before copying.
CloneNotSupportedException
- if copying is not possible.public void setUserObject(Object object)
object
- User Object.public Object getUserObject()
|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |