hep.aida
Interface IAnnotation


public interface IAnnotation

An interface for "annotating" histograms, clouds, etc.

Version:
$Id: IAnnotation.html,v 1.1 2002/10/08 00:51:17 tonyj Exp $
Author:
Pavel Binko, Dino Ferrero Merlino, Wolfgang Hoschek, Tony Johnson, Andreas Pfeiffer, Mark Donszelmann, Guy Barrand
Source Code:
IAnnotation.java

Method Summary
 boolean addItem(String key, String value, boolean visibility)
          Add a key/value pair with a given visibility.
 String key(int index)
           
 boolean removeItem(String key)
          Remove the item indicated by a given key
 void reset()
           
 void setValue(String key, String value)
          Set value for a given key
 void setVisibility(String key, boolean visibility)
          Set visibility for a given key
 int size()
           
 String value(int index)
           
 String value(String key)
          Retrieve the value for a given key
 boolean visibility(int index)
           
 boolean visibility(String key)
          Retrieve the visibility for a given key
 

Method Detail

addItem

public boolean addItem(String key,
                       String value,
                       boolean visibility)
Add a key/value pair with a given visibility. What visibility is for ? If key alredy exists, override its value ?

removeItem

public boolean removeItem(String key)
Remove the item indicated by a given key

value

public String value(String key)
Retrieve the value for a given key

visibility

public boolean visibility(String key)
Retrieve the visibility for a given key

setValue

public void setValue(String key,
                     String value)
Set value for a given key

setVisibility

public void setVisibility(String key,
                          boolean visibility)
Set visibility for a given key

size

public int size()

key

public String key(int index)

value

public String value(int index)

visibility

public boolean visibility(int index)

reset

public void reset()


Copyright © 2000, 2001 AIDA Team, All Rights Reserved.