|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.graphics.heprep.ref.DefaultHepRepAttribute | +--hep.graphics.heprep.ref.DefaultHepRepDefinition | +--hep.graphics.heprep.ref.DefaultHepRepType
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 | |
DefaultHepRepType(HepRepType parent,
String name)
|
|
DefaultHepRepType(String name)
|
Method Summary | |
void |
addType(HepRepType type)
Adds a sub-type to this type. |
HepRepType |
copy(HepRepType parent)
Returns a deep copy of this type. |
void |
display(String indent)
|
boolean |
equals(Object o)
|
static HepRepAttDef |
getAttDef(HepRepType type,
String lowerCaseName)
|
HepRepAttDef |
getAttDef(String name)
searched for a definition with given name. |
static HepRepAttValue |
getAttValue(HepRepType type,
String lowerCaseName)
|
HepRepAttValue |
getAttValue(String name)
searched for a value with given name. |
String |
getDescription()
Returns the description of this type. |
String |
getFullName()
Returns the full name of this type. |
String |
getInfoURL()
Returns the information URL of this type. |
String |
getName()
Returns the name of this type. |
HepRepType |
getSuperType()
Returns the parent of this type. |
Set |
getTypes()
Returns a collection of all the sub-types of this type. |
int |
hashCode()
|
void |
setDescription(String description)
|
void |
setInfoURL(String infoURL)
|
String |
toString()
|
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
addAttDef, addAttDef, getAttDefFromNode, getAttDefsFromNode |
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepAttribute |
addAttColor, addAttColor, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepDefinition |
addAttDef, addAttDef, getAttDefFromNode, getAttDefsFromNode |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Field Detail |
public static final String cvsId
Constructor Detail |
public DefaultHepRepType(String name)
public DefaultHepRepType(HepRepType parent, String name)
Method Detail |
public HepRepType getSuperType()
HepRepType
getSuperType
in interface HepRepType
public HepRepAttDef getAttDef(String name)
getAttDef
in interface HepRepDefinition
getAttDef
in class DefaultHepRepDefinition
name
- of attribute definition.
public static HepRepAttDef getAttDef(HepRepType type, String lowerCaseName)
public HepRepAttValue getAttValue(String name)
getAttValue
in interface HepRepAttribute
getAttValue
in class DefaultHepRepAttribute
name
- of attribute value.
public static HepRepAttValue getAttValue(HepRepType type, String lowerCaseName)
public HepRepType copy(HepRepType parent) throws CloneNotSupportedException
HepRepType
copy
in interface HepRepType
parent
- to which this copy is added.
CloneNotSupportedException
- if copying is not possible.public String getName()
HepRepType
getName
in interface HepRepType
HepRepType.getFullName()
public String getFullName()
HepRepType
getFullName
in interface HepRepType
HepRepType.getName()
public String getDescription()
HepRepType
getDescription
in interface HepRepType
public void setDescription(String description)
public String getInfoURL()
HepRepType
getInfoURL
in interface HepRepType
public void setInfoURL(String infoURL)
public void addType(HepRepType type)
HepRepType
addType
in interface HepRepType
type
- sub-type to be added.public Set getTypes()
HepRepType
getTypes
in interface HepRepType
public boolean equals(Object o)
equals
in class DefaultHepRepDefinition
public int hashCode()
hashCode
in class DefaultHepRepDefinition
public String toString()
toString
in class Object
public void display(String indent)
|
FreeHEP API Version v1.2.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |