FreeHEP API
Version v1.2

hep.graphics.heprep
Interface HepRepIteratorListener

All Known Implementing Classes:
BenchmarkIterator, SAXTest, TestIterator

public interface HepRepIteratorListener

HepRepIteratorListener interface. The implementor is called back for changes of attributes while using the HepRepIterator to iterate over all the HepRepInstances. All names are lowercased.

Author:
Mark Donszelmann

Method Summary
 void removeAttribute(String key)
          Called if attribute key is removed from the attribute set.
 void setAttribute(String key, boolean value, int showLabel)
          Called if attribute key changes its value.
 void setAttribute(String key, Color value, int showLabel)
          Called if attribute key changes its value.
 void setAttribute(String key, double value, int showLabel)
          Called if attribute key changes its value.
 void setAttribute(String key, int value, int showLabel)
          Called if attribute key changes its value.
 void setAttribute(String key, long value, int showLabel)
          Called if attribute key changes its value.
 void setAttribute(String key, String value, String lowerCaseValue, int showLabel)
          Called if attribute key changes its value.
 

Method Detail

setAttribute

public void setAttribute(String key,
                         String value,
                         String lowerCaseValue,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

setAttribute

public void setAttribute(String key,
                         Color value,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

setAttribute

public void setAttribute(String key,
                         long value,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

setAttribute

public void setAttribute(String key,
                         int value,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

setAttribute

public void setAttribute(String key,
                         double value,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

setAttribute

public void setAttribute(String key,
                         boolean value,
                         int showLabel)
Called if attribute key changes its value.

Parameters:
key - name of the changed attribute.
value - value of the changed attribute.
showLabel - value of showLabel.

removeAttribute

public void removeAttribute(String key)
Called if attribute key is removed from the attribute set.

Parameters:
key - name of the removed attribute.

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.