|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.graphics.heprep.streamer.StreamerHepRepAttribute | +--hep.graphics.heprep.streamer.StreamerHepRepInstance
Field Summary | |
static String |
cvsId
|
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 |
Constructor Summary | |
StreamerHepRepInstance(HepRepWriter streamer,
HepRepInstance parent,
HepRepType type)
|
|
StreamerHepRepInstance(HepRepWriter streamer,
HepRepInstanceTree parent,
HepRepType type)
|
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. |
HepRepAttValue |
getAttValue(String name)
search for attribute on node, then search on type |
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. |
String |
toString()
|
Methods inherited from class hep.graphics.heprep.streamer.StreamerHepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Field Detail |
public static final String cvsId
Constructor Detail |
public StreamerHepRepInstance(HepRepWriter streamer, HepRepInstance parent, HepRepType type) throws IOException
public StreamerHepRepInstance(HepRepWriter streamer, HepRepInstanceTree parent, HepRepType type) throws IOException
Method Detail |
public HepRepInstance copy(HepRep heprep, HepRepInstance parent) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
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) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
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
HepRepInstance
copy
in interface HepRepInstance
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, HepRepSelectFilter filter) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
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)
HepRepInstance
setUserObject
in interface HepRepInstance
object
- User Object.public Object getUserObject()
HepRepInstance
getUserObject
in interface HepRepInstance
public HepRepType getType()
HepRepInstance
getType
in interface HepRepInstance
public void addPoint(HepRepPoint point) throws IOException
HepRepInstance
addPoint
in interface HepRepInstance
point
- to be added.
IOException
- only if written immediately to a stream.public Collection getPoints()
HepRepInstance
getPoints
in interface HepRepInstance
public void addInstance(HepRepInstance instance) throws IOException
HepRepInstance
addInstance
in interface HepRepInstance
instance
- sub-instance.
IOException
- only if written immediately to a stream.public void removeInstance(HepRepInstance instance)
HepRepInstance
removeInstance
in interface HepRepInstance
instance
- sub-instance.public Collection getInstances()
HepRepInstance
getInstances
in interface HepRepInstance
public HepRepAttValue getAttValue(String name)
getAttValue
in interface HepRepAttribute
getAttValue
in class StreamerHepRepAttribute
name
- of attribute value.
public String toString()
toString
in class Object
|
FreeHEP API Version v1.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |