|
FreeHEP API Version v1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--hep.graphics.heprep.streamer.StreamerHepRepAttribute
| Field Summary | |
static String |
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 | |
StreamerHepRepAttribute(HepRepWriter streamer)
|
|
| Method Summary | |
void |
addAttValue(HepRepAttValue hepRepAttValue)
Adds an attValue. |
void |
addAttValue(String key,
boolean value)
Adds an attValue. |
void |
addAttValue(String key,
boolean value,
int showLabel)
Adds an attValue. |
void |
addAttValue(String key,
Color value)
Adds a Color attValue. |
void |
addAttValue(String key,
Color value,
int showLabel)
Adds a Color attValue. |
void |
addAttValue(String key,
double value)
Adds an attValue. |
void |
addAttValue(String key,
double value,
int showLabel)
Adds an attValue. |
void |
addAttValue(String key,
int value)
Adds an attValue. |
void |
addAttValue(String key,
int value,
int showLabel)
Adds an attValue. |
void |
addAttValue(String key,
String value)
Adds an attValue. |
void |
addAttValue(String key,
String value,
int showLabel)
Adds an attValue. |
void |
addAttValue(String name,
String value,
String type,
int showLabel)
|
abstract HepRepAttValue |
getAttValue(String name)
Returns the attValue specified by name. |
HepRepAttValue |
getAttValueFromNode(String lowerCaseName)
Returns a named attribute value from this node. |
Collection |
getAttValuesFromNode()
Returns a collection of all attribute values from this node. |
HepRepAttValue |
removeAttValue(String key)
Remove the attvalue named by key. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String cvsId
| Constructor Detail |
public StreamerHepRepAttribute(HepRepWriter streamer)
| Method Detail |
public Collection getAttValuesFromNode()
HepRepAttribute
getAttValuesFromNode in interface HepRepAttribute
public void addAttValue(HepRepAttValue hepRepAttValue)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributehepRepAttValue - to be added.
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
String value)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
int value)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
double value)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
boolean value)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
Color value)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
String value,
int showLabel)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
int value,
int showLabel)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
double value,
int showLabel)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
boolean value,
int showLabel)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
IOException - only if the value is immediately written to a stream.
public void addAttValue(String key,
Color value,
int showLabel)
throws IOException
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
IOException - only if the value is immediately written to a stream.
public void addAttValue(String name,
String value,
String type,
int showLabel)
throws IOException
IOExceptionpublic HepRepAttValue getAttValueFromNode(String lowerCaseName)
HepRepAttribute
getAttValueFromNode in interface HepRepAttributelowerCaseName - name in all lowercase.
public HepRepAttValue removeAttValue(String key)
HepRepAttribute
removeAttValue in interface HepRepAttributekey - name of the attValue to be removed.
public abstract HepRepAttValue getAttValue(String name)
HepRepAttribute
getAttValue in interface HepRepAttributename - of attribute value.
|
FreeHEP API Version v1.2 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||