| 
 | 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.ref.DefaultHepRepAttribute
| 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 | |
| protected  | DefaultHepRepAttribute() | 
| Method Summary | |
|  void | addAttColor(String key,
            double r,
            double g,
            double b,
            double alpha,
            int showLabel) | 
|  void | addAttColor(String key,
            String colorName,
            int showLabel) | 
|  void | addAttValue(HepRepAttValue hepRepAttValue)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. | 
|  void | addAttValue(String name,
            String value,
            String type,
            int showLabel) | 
| abstract  HepRepAttValue | getAttValue(String name)Returns the attValue specified by name. | 
|  HepRepAttValue | getAttValueFromNode(String lowerCaseName)Returns a named attribute value from this node. | 
|  Set | getAttValuesFromNode()Returns a collection of all attribute values from this node. | 
|  HepRepAttValue | removeAttValue(String key)Remove the attvalue named by key. | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final String cvsId
| Constructor Detail | 
protected DefaultHepRepAttribute()
| Method Detail | 
public Set getAttValuesFromNode()
HepRepAttribute
getAttValuesFromNode in interface HepRepAttributepublic void addAttValue(HepRepAttValue hepRepAttValue)
HepRepAttribute
addAttValue in interface HepRepAttributehepRepAttValue - to be added.
public void addAttValue(String key,
                        String value)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
public void addAttValue(String key,
                        int value)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
public void addAttValue(String key,
                        double value)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
public void addAttValue(String key,
                        boolean value)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
public void addAttValue(String key,
                        Color value)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValue
public void addAttValue(String key,
                        String value,
                        int showLabel)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
public void addAttValue(String key,
                        int value,
                        int showLabel)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
public void addAttValue(String key,
                        double value,
                        int showLabel)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
public void addAttValue(String key,
                        boolean value,
                        int showLabel)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
public void addAttValue(String key,
                        Color value,
                        int showLabel)
HepRepAttribute
addAttValue in interface HepRepAttributekey - name of attValuevalue - value of attValueshowLabel - show this as label
public void addAttColor(String key,
                        String colorName,
                        int showLabel)
public void addAttColor(String key,
                        double r,
                        double g,
                        double b,
                        double alpha,
                        int showLabel)
public void addAttValue(String name,
                        String value,
                        String type,
                        int showLabel)
public HepRepAttValue getAttValueFromNode(String lowerCaseName)
HepRepAttribute
getAttValueFromNode in interface HepRepAttributelowerCaseName - name in all lowercase.
public HepRepAttValue removeAttValue(String key)
HepRepAttribute
removeAttValue in interface HepRepAttributekey - name of the attValue to be removed.
public abstract HepRepAttValue getAttValue(String name)
HepRepAttribute
getAttValue in interface HepRepAttributename - of attribute value.
| 
 | FreeHEP API Version current | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||