FreeHEP API
Version current

hep.graphics.heprep1.adapter
Class HepRepInstanceFromHepRepAdapter

java.lang.Object
  extended byhep.graphics.heprep.ref.DefaultHepRepAttribute
      extended byhep.graphics.heprep.ref.DefaultHepRepDefinition
          extended byhep.graphics.heprep1.adapter.HepRepAttributeAdapter
              extended byhep.graphics.heprep1.adapter.AbstractHepRepInstanceAdapter
                  extended byhep.graphics.heprep1.adapter.HepRepInstanceFromHepRepAdapter
All Implemented Interfaces:
HepRepAttribute, HepRepConstants, HepRepDefinition, HepRepInstance, Serializable

public class HepRepInstanceFromHepRepAdapter
extends AbstractHepRepInstanceAdapter

Version:
$Id: HepRepInstanceFromHepRepAdapter.java,v 1.2 2004/07/27 21:40:27 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
HepRepInstanceFromHepRepAdapter.java

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
HepRepInstanceFromHepRepAdapter(HepRep heprep1, HepRepInstance parent, HepRepType type)
           
 
Method Summary
 HepRepAttValue getAttValueFromNode(String lowerCaseName)
          Returns a named attribute value from this node.
 Set getAttValuesFromNode()
          Returns a collection of all attribute values from this node.
 List getPoints()
          Returns a collection of all points this instance keeps.
 
Methods inherited from class hep.graphics.heprep1.adapter.AbstractHepRepInstanceAdapter
addInstance, addPoint, copy, copy, copy, copy, getAttValue, getInstances, getLayer, getPoints, getSuperInstance, getType, getUserObject, hasFrame, overlay, removeInstance, setUserObject
 
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, 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.HepRepAttribute
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, removeAttValue
 

Constructor Detail

HepRepInstanceFromHepRepAdapter

public HepRepInstanceFromHepRepAdapter(HepRep heprep1,
                                       HepRepInstance parent,
                                       HepRepType type)
Method Detail

getPoints

public List getPoints()
Description copied from interface: HepRepInstance
Returns a collection of all points this instance keeps.

Returns:
collection of HepRepPoints.

getAttValuesFromNode

public Set getAttValuesFromNode()
Description copied from interface: HepRepAttribute
Returns a collection of all attribute values from this node.

Specified by:
getAttValuesFromNode in interface HepRepAttribute
Overrides:
getAttValuesFromNode in class DefaultHepRepAttribute

getAttValueFromNode

public HepRepAttValue getAttValueFromNode(String lowerCaseName)
Description copied from interface: HepRepAttribute
Returns a named attribute value from this node.

Specified by:
getAttValueFromNode in interface HepRepAttribute
Overrides:
getAttValueFromNode in class DefaultHepRepAttribute

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.