|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HepRepAttribute interface.
Field Summary |
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 |
Method Summary | |
void |
addAttValue(HepRepAttValue attValue)
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. |
HepRepAttValue |
getAttValue(String name)
Returns the attValue specified by name. |
HepRepAttValue |
getAttValueFromNode(String lowerCaseName)
Returns a named attribute value from this node. |
Set |
getAttValuesFromNode()
Returns a collection of all attribute values from this node. |
HepRepAttValue |
removeAttValue(String key)
Remove the attvalue named by key. |
Method Detail |
public void addAttValue(HepRepAttValue attValue) throws IOException
attValue
- to be added.
IOException
- only if the value is immediately written to a stream.public void addAttValue(String key, String value) throws IOException
key
- 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
key
- 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) throws IOException
key
- name of attValuevalue
- value of attValue
IOException
- only if the value is immediately written to a stream.public void addAttValue(String key, int value, int showLabel) throws IOException
key
- 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) throws IOException
key
- name of attValuevalue
- value of attValue
IOException
- only if the value is immediately written to a stream.public void addAttValue(String key, double value, int showLabel) throws IOException
key
- 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) throws IOException
key
- name of attValuevalue
- value of attValue
IOException
- only if the value is immediately written to a stream.public void addAttValue(String key, boolean value, int showLabel) throws IOException
key
- 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) throws IOException
key
- name of attValuevalue
- value of attValue
IOException
- only if the value is immediately written to a stream.public void addAttValue(String key, Color value, int showLabel) throws IOException
key
- name of attValuevalue
- value of attValueshowLabel
- show this as label
IOException
- only if the value is immediately written to a stream.public HepRepAttValue removeAttValue(String key)
key
- name of the attValue to be removed.
public HepRepAttValue getAttValue(String name)
name
- of attribute value.
public Set getAttValuesFromNode()
public HepRepAttValue getAttValueFromNode(String lowerCaseName)
lowerCaseName
- name in all lowercase.
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |