FreeHEP API
Version current

hep.graphics.heprep1.adapter
Class HepRepTypeFromInstanceAdapter

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.HepRepDefinitionAdapter
                  extended byhep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
                      extended byhep.graphics.heprep1.adapter.HepRepTypeAdapter
                          extended byhep.graphics.heprep1.adapter.HepRepTypeFromInstanceAdapter
All Implemented Interfaces:
HepRepAttribute, HepRepConstants, HepRepDefinition, HepRepType, Serializable

public class HepRepTypeFromInstanceAdapter
extends HepRepTypeAdapter

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

Field Summary
 
Fields inherited from class hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
parent, types
 
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
HepRepTypeFromInstanceAdapter(HepRepType type1, HepRepInstance instance1, HepRepType parent, HepRepInstance instance, String suffix)
           
 
Method Summary
 String getName()
          Returns the name of this type.
 
Methods inherited from class hep.graphics.heprep1.adapter.HepRepTypeAdapter
equals, hashCode, toString
 
Methods inherited from class hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
addType, copy, getAttDef, getAttValue, getDescription, getFullName, getInfoURL, getSuperType, getTypeList, getTypes, setDescription, setInfoURL
 
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition
addAttDef, addAttDef, 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, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hep.graphics.heprep.HepRepDefinition
addAttDef, addAttDef, getAttDefFromNode, getAttDefsFromNode
 
Methods inherited from interface hep.graphics.heprep.HepRepAttribute
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue
 

Constructor Detail

HepRepTypeFromInstanceAdapter

public HepRepTypeFromInstanceAdapter(HepRepType type1,
                                     HepRepInstance instance1,
                                     HepRepType parent,
                                     HepRepInstance instance,
                                     String suffix)
Method Detail

getName

public String getName()
Description copied from interface: HepRepType
Returns the name of this type. This is the full name if one uses flat-types, and the node name if one uses hierarchical typenames. It is the name supplied at construction of the type.

Specified by:
getName in interface HepRepType
Overrides:
getName in class HepRepTypeAdapter

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.