|
FreeHEP API Version current |
|||||||||
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 | |
protected |
DefaultHepRepType(HepRepType parent,
String name)
|
protected |
DefaultHepRepType(HepRepTypeTree parent,
String name)
|
protected |
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)
|
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. |
List |
getTypeList()
Returns a collection of all the sub-types of this type. |
Set |
getTypes()
Returns a collection of all the sub-types of this type. |
void |
setDescription(String description)
Sets the description of this type. |
void |
setInfoURL(String infoURL)
Sets the information URL of this type. |
String |
toString()
|
Methods inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
addAttDef, addAttDef, equals, 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, hashCode, 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 |
protected DefaultHepRepType(String name)
protected DefaultHepRepType(HepRepType parent, String name)
protected DefaultHepRepType(HepRepTypeTree 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
public static HepRepAttDef getAttDef(HepRepType type, String lowerCaseName)
public HepRepAttValue getAttValue(String name)
getAttValue
in interface HepRepAttribute
getAttValue
in class DefaultHepRepAttribute
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)
HepRepType
setDescription
in interface HepRepType
public String getInfoURL()
HepRepType
getInfoURL
in interface HepRepType
public void setInfoURL(String infoURL)
HepRepType
setInfoURL
in interface HepRepType
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 List getTypeList()
HepRepType
getTypeList
in interface HepRepType
public String toString()
public void display(String indent)
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |