FreeHEP API
Version v1.2.2

hep.graphics.heprep.corba
Class CORBAHepRepAttribute

java.lang.Object
  |
  +--hep.graphics.heprep.corba.CORBAHepRepAttribute
All Implemented Interfaces:
HepRepAttribute, HepRepConstants
Direct Known Subclasses:
CORBAHepRepDefinition, HepRepInstanceAdapter, HepRepPointAdapter

public abstract class CORBAHepRepAttribute
extends Object
implements HepRepAttribute

Version:
$Id: CORBAHepRepAttribute.java,v 1.13 2003/12/04 23:25:39 duns Exp $
Author:
Mark Donszelmann

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
CORBAHepRepAttribute()
           
 
Method Summary
 void addAttValue(HepRepAttValue attValue)
          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.
 boolean equals(Object o)
           
 HepRepAttValue getAttValueFromNode(String lowerCaseName)
          Returns a named attribute value from this node.
protected abstract  HepRepAttValue[] getAttValues()
           
 Set getAttValuesFromNode()
          Returns a collection of all attribute values from this node.
 int hashCode()
           
 HepRepAttValue removeAttValue(String key)
          Remove the attvalue named by key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hep.graphics.heprep.HepRepAttribute
getAttValue
 

Field Detail

cvsId

public static final String cvsId
See Also:
Constant Field Values
Constructor Detail

CORBAHepRepAttribute

public CORBAHepRepAttribute()
Method Detail

getAttValuesFromNode

public Set getAttValuesFromNode()
Description copied from interface: HepRepAttribute
Returns a collection of all attribute values from this node.

Specified by:
getAttValuesFromNode in interface HepRepAttribute
Returns:
collection of HepRepAttValues.

getAttValueFromNode

public HepRepAttValue getAttValueFromNode(String lowerCaseName)
Description copied from interface: HepRepAttribute
Returns a named attribute value from this node.

Specified by:
getAttValueFromNode in interface HepRepAttribute
Parameters:
lowerCaseName - name in all lowercase.
Returns:
corresponding HepRepAttValue.

addAttValue

public void addAttValue(String key,
                        String value)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue

addAttValue

public void addAttValue(String key,
                        int value)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue

addAttValue

public void addAttValue(String key,
                        double value)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue

addAttValue

public void addAttValue(String key,
                        boolean value)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue

addAttValue

public void addAttValue(String key,
                        Color value)
Description copied from interface: HepRepAttribute
Adds a Color attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue

addAttValue

public void addAttValue(HepRepAttValue attValue)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
attValue - to be added.

addAttValue

public void addAttValue(String key,
                        String value,
                        int showLabel)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue
showLabel - show this as label

addAttValue

public void addAttValue(String key,
                        int value,
                        int showLabel)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue
showLabel - show this as label

addAttValue

public void addAttValue(String key,
                        double value,
                        int showLabel)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue
showLabel - show this as label

addAttValue

public void addAttValue(String key,
                        boolean value,
                        int showLabel)
Description copied from interface: HepRepAttribute
Adds an attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue
showLabel - show this as label

addAttValue

public void addAttValue(String key,
                        Color value,
                        int showLabel)
Description copied from interface: HepRepAttribute
Adds a Color attValue.

Specified by:
addAttValue in interface HepRepAttribute
Parameters:
key - name of attValue
value - value of attValue
showLabel - show this as label

removeAttValue

public HepRepAttValue removeAttValue(String key)
Description copied from interface: HepRepAttribute
Remove the attvalue named by key.

Specified by:
removeAttValue in interface HepRepAttribute
Parameters:
key - name of the attValue to be removed.
Returns:
removed HepRepAttValue, or null if not removed.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getAttValues

protected abstract HepRepAttValue[] getAttValues()

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.