FreeHEP API
Version current

hep.graphics.heprep1.ref
Class DefaultHepRepType

java.lang.Object
  extended byhep.graphics.heprep1.ref.DefaultHepRepAttribute
      extended byhep.graphics.heprep1.ref.DefaultHepRepType
All Implemented Interfaces:
HepRepAttribute, HepRepType, Serializable

public class DefaultHepRepType
extends DefaultHepRepAttribute
implements HepRepType, Serializable

Version:
$Id: DefaultHepRepType.java,v 1.2 2004/08/06 04:54:34 duns Exp $
Author:
M.Donszelmann
See Also:
Serialized Form
Source Code:
DefaultHepRepType.java

Field Summary
static String cvsId
           
 
Fields inherited from class hep.graphics.heprep1.ref.DefaultHepRepAttribute
empty
 
Constructor Summary
DefaultHepRepType(DefaultHepRepAttribute parent, String name, String version)
           
 
Method Summary
 void add(HepRepInstance node)
           
 void add(HepRepPoint node)
           
 void add(HepRepPrimitive node)
           
 void add(HepRepType node)
           
 Enumeration getInstances()
           
 String getName()
           
 Enumeration getPoints()
           
 Enumeration getPrimitives()
           
 HepRep getRoot()
           
 Enumeration getTypes()
           
 String getVersion()
           
 String toString()
           
 
Methods inherited from class hep.graphics.heprep1.ref.DefaultHepRepAttribute
addColor, addColor, addDefinition, addValue, addValue, addValue, addValue, addValue, getAttDef, getAttDefFromNode, getAttDefs, getAttValue, getAttValueFromNode, getAttValues, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface hep.graphics.heprep1.HepRepAttribute
addColor, addColor, addDefinition, addValue, addValue, addValue, addValue, addValue, getAttDef, getAttDefFromNode, getAttDefs, getAttValue, getAttValueFromNode, getAttValues, getParent
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

DefaultHepRepType

public DefaultHepRepType(DefaultHepRepAttribute parent,
                         String name,
                         String version)
Method Detail

getName

public String getName()
Specified by:
getName in interface HepRepType

getVersion

public String getVersion()
Specified by:
getVersion in interface HepRepType

getRoot

public HepRep getRoot()
Specified by:
getRoot in interface HepRepType

add

public void add(HepRepPoint node)
Overrides:
add in class DefaultHepRepAttribute

getPoints

public Enumeration getPoints()
Specified by:
getPoints in interface HepRepType

add

public void add(HepRepPrimitive node)
Overrides:
add in class DefaultHepRepAttribute

getPrimitives

public Enumeration getPrimitives()
Specified by:
getPrimitives in interface HepRepType

add

public void add(HepRepInstance node)
Overrides:
add in class DefaultHepRepAttribute

getInstances

public Enumeration getInstances()
Specified by:
getInstances in interface HepRepType

add

public void add(HepRepType node)
Overrides:
add in class DefaultHepRepAttribute

getTypes

public Enumeration getTypes()
Specified by:
getTypes in interface HepRepType

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.