hep.graphics.heprep1.ref
Class DefaultHepRepAttribute
java.lang.Object
hep.graphics.heprep1.ref.DefaultHepRepAttribute
- All Implemented Interfaces:
- HepRepAttribute, Serializable
- Direct Known Subclasses:
- DefaultHepRep, DefaultHepRepInstance, DefaultHepRepPoint, DefaultHepRepPrimitive, DefaultHepRepType, HepRepAttributeAdapter
- public abstract class DefaultHepRepAttribute
- extends Object
- implements HepRepAttribute, Serializable
- Version:
- $Id: DefaultHepRepAttribute.java,v 1.1 2004/07/18 08:19:46 duns Exp $
- Author:
- M.Donszelmann
- See Also:
- Serialized Form
- Source Code:
- DefaultHepRepAttribute.java
Field Summary |
static String |
cvsId
|
static hep.graphics.heprep1.ref.DefaultHepRepAttribute.EmptyEnumeration |
empty
|
Method Summary |
void |
add(HepRepInstance arg)
|
void |
add(HepRepPoint arg)
|
void |
add(HepRepPrimitive arg)
|
void |
add(HepRepType arg)
|
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()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cvsId
public static final String cvsId
- See Also:
- Constant Field Values
empty
public static hep.graphics.heprep1.ref.DefaultHepRepAttribute.EmptyEnumeration empty
DefaultHepRepAttribute
public DefaultHepRepAttribute(HepRepAttribute parent)
getParent
public HepRepAttribute getParent()
- Specified by:
getParent
in interface HepRepAttribute
getAttValues
public Enumeration getAttValues()
- Specified by:
getAttValues
in interface HepRepAttribute
getAttDefs
public Enumeration getAttDefs()
- Specified by:
getAttDefs
in interface HepRepAttribute
getAttDef
public HepRepAttDef getAttDef(String name)
- Specified by:
getAttDef
in interface HepRepAttribute
- Parameters:
name
- case insensitive name of attribute definition
getAttValue
public HepRepAttValue getAttValue(String name)
- Specified by:
getAttValue
in interface HepRepAttribute
- Parameters:
name
- case insensitive name of attribute value
addValue
public void addValue(String key,
String value)
- Specified by:
addValue
in interface HepRepAttribute
addValue
public void addValue(String key,
int value,
int showLabel)
- Specified by:
addValue
in interface HepRepAttribute
addValue
public void addValue(String key,
double value,
int showLabel)
- Specified by:
addValue
in interface HepRepAttribute
addValue
public void addValue(String key,
boolean value,
int showLabel)
- Specified by:
addValue
in interface HepRepAttribute
addValue
public void addValue(String key,
String value,
int showLabel)
- Specified by:
addValue
in interface HepRepAttribute
addColor
public void addColor(String key,
String colorName,
int showLabel)
- Specified by:
addColor
in interface HepRepAttribute
addColor
public void addColor(String key,
double r,
double g,
double b,
double alpha,
int showLabel)
- Specified by:
addColor
in interface HepRepAttribute
addDefinition
public void addDefinition(String name,
String desc,
String type,
String extra)
- Specified by:
addDefinition
in interface HepRepAttribute
getAttDefFromNode
public HepRepAttDef getAttDefFromNode(String name)
- Specified by:
getAttDefFromNode
in interface HepRepAttribute
getAttValueFromNode
public HepRepAttValue getAttValueFromNode(String name)
- Specified by:
getAttValueFromNode
in interface HepRepAttribute
add
public void add(HepRepPoint arg)
add
public void add(HepRepPrimitive arg)
add
public void add(HepRepInstance arg)
add
public void add(HepRepType arg)
Copyright © 2000-2004 FreeHEP, All Rights Reserved.