|
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.DefaultHepRepAttribute
hep.graphics.heprep.ref.DefaultHepRepDefinition
hep.graphics.heprep1.adapter.HepRepAttributeAdapter
hep.graphics.heprep1.adapter.AbstractHepRepInstanceAdapter
| Field Summary |
| Fields inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
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 | |
AbstractHepRepInstanceAdapter(HepRepAttribute parentAttribute,
HepRepAttribute attribute,
HepRepInstance parent,
HepRepType type)
|
|
AbstractHepRepInstanceAdapter(HepRepAttribute attribute,
HepRepInstance 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(HepRepTypeTree typeTree,
HepRepInstance parent)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRepTypeTree typeTree,
HepRepInstance parent,
HepRepSelectFilter filter)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRepTypeTree typeTree,
HepRepInstanceTree parent)
Returns a deep copy of this instance. |
HepRepInstance |
copy(HepRepTypeTree typeTree,
HepRepInstanceTree parent,
HepRepSelectFilter filter)
Returns a deep copy of this instance. |
HepRepAttValue |
getAttValue(String name)
search for attribute on node, then search on type |
List |
getInstances()
Returns a collection of all sub-instances this instance keeps. |
String |
getLayer()
Returns String layername. |
int |
getPoints(double[][] xyz)
Fills a double[3][n] array with the coordinates of all points, if none of the points have any attributes defined on them. |
HepRepInstance |
getSuperInstance()
Returns the parent of this instance. |
HepRepType |
getType()
Returns the associated type for this instance. |
Object |
getUserObject()
Returns a user object previously set on this instance. |
boolean |
hasFrame()
Returns true if this instance has a frame. |
void |
overlay(HepRepInstance instance)
Overlays the instance on the current 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 class hep.graphics.heprep1.adapter.HepRepAttributeAdapter |
getAttDef |
| Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
addAttDef, addAttDef, equals, getAttDefFromNode, getAttDefsFromNode |
| Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepAttribute |
addAttColor, addAttColor, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hep.graphics.heprep.HepRepInstance |
getPoints |
| Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
| Constructor Detail |
public AbstractHepRepInstanceAdapter(HepRepAttribute attribute,
HepRepInstance parent,
HepRepType type)
public AbstractHepRepInstanceAdapter(HepRepAttribute parentAttribute,
HepRepAttribute attribute,
HepRepInstance parent,
HepRepType type)
| Method Detail |
public void overlay(HepRepInstance instance)
HepRepInstance
overlay in interface HepRepInstancepublic void addInstance(HepRepInstance instance)
HepRepInstance
addInstance in interface HepRepInstanceinstance - sub-instance.public void removeInstance(HepRepInstance instance)
HepRepInstance
removeInstance in interface HepRepInstanceinstance - sub-instance.public List getInstances()
HepRepInstance
getInstances in interface HepRepInstancepublic void addPoint(HepRepPoint point)
HepRepInstance
addPoint in interface HepRepInstancepoint - to be added.public HepRepType getType()
HepRepInstance
getType in interface HepRepInstancepublic int getPoints(double[][] xyz)
HepRepInstance
getPoints in interface HepRepInstanceHepRepInstance.getPoints()public HepRepInstance getSuperInstance()
HepRepInstance
getSuperInstance in interface HepRepInstance
public HepRepInstance copy(HepRepTypeTree typeTree,
HepRepInstance parent)
throws CloneNotSupportedException
HepRepInstance
copy in interface HepRepInstancetypeTree - needed to find the associated type.parent - to which the copy is added.
CloneNotSupportedException - if copying is not possible.
public HepRepInstance copy(HepRepTypeTree typeTree,
HepRepInstance parent,
HepRepSelectFilter filter)
throws CloneNotSupportedException
HepRepInstance
copy in interface HepRepInstancetypeTree - 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(HepRepTypeTree typeTree,
HepRepInstanceTree parent)
throws CloneNotSupportedException
HepRepInstance
copy in interface HepRepInstancetypeTree - needed to find the associated type.parent - to which the copy is added.
CloneNotSupportedException - if copying is not possible.
public HepRepInstance copy(HepRepTypeTree typeTree,
HepRepInstanceTree parent,
HepRepSelectFilter filter)
throws CloneNotSupportedException
HepRepInstance
copy in interface HepRepInstancetypeTree - 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 HepRepInstanceobject - User Object.public Object getUserObject()
HepRepInstance
getUserObject in interface HepRepInstancepublic HepRepAttValue getAttValue(String name)
getAttValue in interface HepRepAttributegetAttValue in class DefaultHepRepAttributepublic String getLayer()
HepRepInstance
getLayer in interface HepRepInstancepublic boolean hasFrame()
HepRepInstance
hasFrame in interface HepRepInstance
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||