FreeHEP API
Version current

hep.graphics.heprep1.adapter
Class HepRepTypeFromHepRepAdapter

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.HepRepTypeFromHepRepAdapter
All Implemented Interfaces:
HepRepAttribute, HepRepConstants, HepRepDefinition, HepRepType, Serializable

public class HepRepTypeFromHepRepAdapter
extends AbstractHepRepTypeAdapter

Version:
$Id: HepRepTypeFromHepRepAdapter.java,v 1.1 2004/07/22 21:02:50 duns Exp $
Author:
Mark Donszelmann
See Also:
Serialized Form
Source Code:
HepRepTypeFromHepRepAdapter.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
HepRepTypeFromHepRepAdapter(HepRep heprep1, HepRepType parent)
           
 
Method Summary
 void addType(HepRepType type)
          Adds a sub-type to this type.
 String getName()
          Returns the name of this type.
 
Methods inherited from class hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
copy, getAttDef, getAttValue, getDescription, getFullName, getInfoURL, getSuperType, getTypeList, getTypes, setDescription, setInfoURL
 
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.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

HepRepTypeFromHepRepAdapter

public HepRepTypeFromHepRepAdapter(HepRep heprep1,
                                   HepRepType parent)
Method Detail

addType

public void addType(HepRepType type)
Description copied from interface: HepRepType
Adds a sub-type to this type.

Specified by:
addType in interface HepRepType
Overrides:
addType in class AbstractHepRepTypeAdapter

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.

Returns:
name of type.
See Also:
HepRepType.getFullName()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.