|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object hep.graphics.heprep.HepRepAttributeAdapter
HepRepAttributeAdapter. The implementor is called back for changes of attributes while using the HepRepIterator to iterate over all the HepRepInstances.
Constructor Summary | |
HepRepAttributeAdapter()
|
Method Summary | |
void |
removeAttribute(HepRepInstance instance,
String key)
Called if attribute key is removed from the attribute set. |
void |
setAttribute(HepRepInstance instance,
String key,
boolean value,
int showLabel)
Called if attribute key changes its value. |
void |
setAttribute(HepRepInstance instance,
String key,
Color value,
int showLabel)
Called if attribute key changes its value. |
void |
setAttribute(HepRepInstance instance,
String key,
double value,
int showLabel)
Called if attribute key changes its value. |
void |
setAttribute(HepRepInstance instance,
String key,
int value,
int showLabel)
Called if attribute key changes its value. |
void |
setAttribute(HepRepInstance instance,
String key,
long value,
int showLabel)
Called if attribute key changes its value. |
void |
setAttribute(HepRepInstance instance,
String key,
String value,
String lowerCaseValue,
int showLabel)
Called if attribute key changes its value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HepRepAttributeAdapter()
Method Detail |
public void setAttribute(HepRepInstance instance, String key, String value, String lowerCaseValue, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.lowerCaseValue
- lower case value of the changed attribute.showLabel
- value of showLabel.public void setAttribute(HepRepInstance instance, String key, Color value, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.showLabel
- value of showLabel.public void setAttribute(HepRepInstance instance, String key, long value, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.showLabel
- value of showLabel.public void setAttribute(HepRepInstance instance, String key, int value, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.showLabel
- value of showLabel.public void setAttribute(HepRepInstance instance, String key, double value, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.showLabel
- value of showLabel.public void setAttribute(HepRepInstance instance, String key, boolean value, int showLabel)
HepRepAttributeListener
setAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the changed attribute.value
- value of the changed attribute.showLabel
- value of showLabel.public void removeAttribute(HepRepInstance instance, String key)
HepRepAttributeListener
removeAttribute
in interface HepRepAttributeListener
instance
- instance for which this attribute is set.key
- name of the removed attribute.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |