| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
HepRepAttributeListener interface. The implementor is called back for changes of attributes while using the HepRepIterator to iterate over all the HepRepInstances. All names are lowercased.
| 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. | 
| Method Detail | 
public void setAttribute(HepRepInstance instance,
                         String key,
                         String value,
                         String lowerCaseValue,
                         int showLabel)
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)
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)
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)
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)
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)
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)
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 | |||||||||