|
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.corba.CORBAHepRepAttribute hep.graphics.heprep.corba.HepRepInstanceAdapter
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 | |
HepRepInstanceAdapter(HepRepTypeTree typeTree,
HepRepInstance hepRepInstance,
HepRepInstance parent)
|
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. |
boolean |
equals(Object o)
|
HepRepAttValue |
getAttValue(String name)
Returns the attValue specified by name. |
protected HepRepAttValue[] |
getAttValues()
|
List |
getInstances()
Returns a collection of all sub-instances this instance keeps. |
String |
getLayer()
Returns String layername. |
List |
getPoints()
Returns a collection of all points this instance keeps. |
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. |
int |
hashCode()
|
boolean |
isValid()
|
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. |
void |
validate()
|
Methods inherited from class hep.graphics.heprep.corba.CORBAHepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, 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 HepRepInstanceAdapter(HepRepTypeTree typeTree, HepRepInstance hepRepInstance, HepRepInstance parent)
Method Detail |
public HepRepInstance getSuperInstance()
HepRepInstance
getSuperInstance
in interface HepRepInstance
public void overlay(HepRepInstance instance)
HepRepInstance
overlay
in interface HepRepInstance
public HepRepInstance copy(HepRepTypeTree typeTree, HepRepInstanceTree parent) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
typeTree
- 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) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
typeTree
- 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 HepRepInstance
typeTree
- 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, HepRepSelectFilter filter) throws CloneNotSupportedException
HepRepInstance
copy
in interface HepRepInstance
typeTree
- 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 List getInstances()
HepRepInstance
getInstances
in interface HepRepInstance
public List getPoints()
HepRepInstance
getPoints
in interface HepRepInstance
public int getPoints(double[][] xyz)
HepRepInstance
getPoints
in interface HepRepInstance
HepRepInstance.getPoints()
public void addPoint(HepRepPoint point) throws UnsupportedOperationException
HepRepInstance
addPoint
in interface HepRepInstance
point
- to be added.
UnsupportedOperationException
public void addInstance(HepRepInstance instance) throws UnsupportedOperationException
HepRepInstance
addInstance
in interface HepRepInstance
instance
- sub-instance.
UnsupportedOperationException
public void removeInstance(HepRepInstance instance) throws UnsupportedOperationException
HepRepInstance
removeInstance
in interface HepRepInstance
instance
- sub-instance.
UnsupportedOperationException
public HepRepAttValue getAttValue(String name)
HepRepAttribute
getAttValue
in interface HepRepAttribute
name
- of attribute value.
protected HepRepAttValue[] getAttValues()
getAttValues
in class CORBAHepRepAttribute
public boolean equals(Object o)
equals
in class CORBAHepRepAttribute
public int hashCode()
hashCode
in class CORBAHepRepAttribute
public boolean isValid()
public void validate()
public String getLayer()
HepRepInstance
getLayer
in interface HepRepInstance
public 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 |