hep.graphics.heprep
Interface HepRepDefinition

All Superinterfaces:
HepRepAttribute, HepRepConstants
All Known Subinterfaces:
HepRepType

public interface HepRepDefinition
extends HepRepAttribute

HepRepDefinition interface.

Author:
Mark Donszelmann

Field Summary
 
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
 
Method Summary
 void addAttDef(HepRepAttDef attDef)
          Adds an attdef.
 void addAttDef(String name, String desc, String category, String extra)
          Adds an attdef.
 HepRepAttDef getAttDef(String name)
          Return a named attribute definition searched on this node and any parent nodes.
 HepRepAttDef getAttDefFromNode(String lowerCaseName)
          Returns a named attribute definition defined on this node.
 Set getAttDefsFromNode()
          Returns a collection of all attribute definitions defined on this node.
 
Methods inherited from interface hep.graphics.heprep.HepRepAttribute
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue
 

Method Detail

addAttDef

void addAttDef(String name,
               String desc,
               String category,
               String extra)
Adds an attdef.

Parameters:
name - name of the definition.
desc - description of the definition.
category - category of the definition.
extra - extra info of the definition.

addAttDef

void addAttDef(HepRepAttDef attDef)
Adds an attdef.

Parameters:
attDef - to be added.

getAttDef

HepRepAttDef getAttDef(String name)
Return a named attribute definition searched on this node and any parent nodes.

Parameters:
name - of attribute definition.
Returns:
attribute definition.

getAttDefsFromNode

Set getAttDefsFromNode()
Returns a collection of all attribute definitions defined on this node.

Returns:
collection of attributes definitions.

getAttDefFromNode

HepRepAttDef getAttDefFromNode(String lowerCaseName)
Returns a named attribute definition defined on this node.

Parameters:
lowerCaseName - name of the attribute in lower case.
Returns:
attribute definition.


Copyright © 2000-2007 FreeHEP. All Rights Reserved.