|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.graphics.heprep.corbavalue.HepRepAttributeAdapter
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 | |
HepRepAttributeAdapter(HepRepAttribute hepRepAttribute)
|
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. |
boolean |
equals(Object o)
|
HepRepAttValue |
getAttValueFromNode(String lowerCaseName)
Returns a named attribute value from this node. |
Set |
getAttValuesFromNode()
Returns a collection of all attribute values from this node. |
int |
hashCode()
|
HepRepAttValue |
removeAttValue(String key)
Remove the attvalue named by key. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
getAttValue |
Field Detail |
public static final String cvsId
Constructor Detail |
public HepRepAttributeAdapter(HepRepAttribute hepRepAttribute)
Method Detail |
public Set getAttValuesFromNode()
HepRepAttribute
getAttValuesFromNode
in interface HepRepAttribute
public HepRepAttValue getAttValueFromNode(String lowerCaseName)
HepRepAttribute
getAttValueFromNode
in interface HepRepAttribute
lowerCaseName
- name in all lowercase.
public void addAttValue(String key, String value)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValuepublic void addAttValue(String key, int value)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValuepublic void addAttValue(String key, double value)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValuepublic void addAttValue(String key, boolean value)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValuepublic void addAttValue(String key, Color value)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValuepublic void addAttValue(HepRepAttValue attValue)
HepRepAttribute
addAttValue
in interface HepRepAttribute
attValue
- to be added.public void addAttValue(String key, String value, int showLabel)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValueshowLabel
- show this as labelpublic void addAttValue(String key, int value, int showLabel)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValueshowLabel
- show this as labelpublic void addAttValue(String key, double value, int showLabel)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValueshowLabel
- show this as labelpublic void addAttValue(String key, boolean value, int showLabel)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValueshowLabel
- show this as labelpublic void addAttValue(String key, Color value, int showLabel)
HepRepAttribute
addAttValue
in interface HepRepAttribute
key
- name of attValuevalue
- value of attValueshowLabel
- show this as labelpublic HepRepAttValue removeAttValue(String key)
HepRepAttribute
removeAttValue
in interface HepRepAttribute
key
- name of the attValue to be removed.
public boolean equals(Object o)
public int hashCode()
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |