FreeHEP API
Version current

hep.graphics.heprep1
Interface HepRepAttribute

All Known Subinterfaces:
HepRep, HepRepInstance, HepRepPoint, HepRepPrimitive, HepRepType, HepRepTypeInfo
All Known Implementing Classes:
DefaultHepRep, DefaultHepRepAttribute, DefaultHepRepInstance, DefaultHepRepPoint, DefaultHepRepPrimitive, DefaultHepRepType, HepRepAdapter, HepRepAttributeAdapter, HepRepInstanceAdapter, HepRepPointAdapter, HepRepPrimitiveAdapter, HepRepTypeAdapter, HepRepTypeInfoAdapter

public interface HepRepAttribute

Version:
$Id: HepRepAttribute.java,v 1.3 2004/07/30 14:51:52 duns Exp $
Author:
M.Donszelmann
Source Code:
HepRepAttribute.java

Field Summary
static String cvsId
           
 
Method Summary
 void addColor(String key, double r, double g, double b, double alpha, int showLabel)
           
 void addColor(String key, String colorName, int showLabel)
           
 void addDefinition(String name, String desc, String type, String extra)
           
 void addValue(String key, boolean value, int showLabel)
           
 void addValue(String key, double value, int showLabel)
           
 void addValue(String key, int value, int showLabel)
           
 void addValue(String key, String value)
           
 void addValue(String key, String value, int showLabel)
           
 HepRepAttDef getAttDef(String name)
           
 HepRepAttDef getAttDefFromNode(String name)
           
 Enumeration getAttDefs()
           
 HepRepAttValue getAttValue(String name)
           
 HepRepAttValue getAttValueFromNode(String name)
           
 Enumeration getAttValues()
           
 HepRepAttribute getParent()
           
 

Field Detail

cvsId

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

getAttDef

public HepRepAttDef getAttDef(String name)
Parameters:
name - case insensitive name of attribute definition
Returns:
attribute definition

getAttValue

public HepRepAttValue getAttValue(String name)
Parameters:
name - case insensitive name of attribute value
Returns:
attribute value

getParent

public HepRepAttribute getParent()

getAttValueFromNode

public HepRepAttValue getAttValueFromNode(String name)

getAttValues

public Enumeration getAttValues()

getAttDefFromNode

public HepRepAttDef getAttDefFromNode(String name)

getAttDefs

public Enumeration getAttDefs()

addValue

public void addValue(String key,
                     String value)

addValue

public void addValue(String key,
                     int value,
                     int showLabel)

addValue

public void addValue(String key,
                     double value,
                     int showLabel)

addValue

public void addValue(String key,
                     boolean value,
                     int showLabel)

addValue

public void addValue(String key,
                     String value,
                     int showLabel)

addColor

public void addColor(String key,
                     String colorName,
                     int showLabel)

addColor

public void addColor(String key,
                     double r,
                     double g,
                     double b,
                     double alpha,
                     int showLabel)

addDefinition

public void addDefinition(String name,
                          String desc,
                          String type,
                          String extra)

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.