|
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.heprep1.adapter.HepRepAttributeAdapter hep.graphics.heprep1.adapter.HepRepDefinitionAdapter hep.graphics.heprep1.adapter.AbstractHepRepTypeAdapter
Field Summary | |
protected HepRepType |
parent
|
protected ListSet |
types
|
Fields inherited from class hep.graphics.heprep.ref.DefaultHepRepDefinition |
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 | |
AbstractHepRepTypeAdapter(HepRepAttribute attribute1,
HepRepType parent)
|
Method Summary | |
void |
addType(HepRepType type)
Adds a sub-type to this type. |
HepRepType |
copy(HepRepType parent)
Returns a deep copy of this type. |
HepRepAttDef |
getAttDef(String name)
searched for a definition with given name. |
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. |
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. |
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, toString, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepType |
getName |
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 |
protected HepRepType parent
protected ListSet types
Constructor Detail |
public AbstractHepRepTypeAdapter(HepRepAttribute attribute1, HepRepType parent)
Method Detail |
public void addType(HepRepType type)
HepRepType
addType
in interface HepRepType
type
- sub-type to be added.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 HepRepType getSuperType()
HepRepType
getSuperType
in interface HepRepType
public Set getTypes()
HepRepType
getTypes
in interface HepRepType
public List getTypeList()
HepRepType
getTypeList
in interface HepRepType
public HepRepAttDef getAttDef(String name)
getAttDef
in interface HepRepDefinition
getAttDef
in class HepRepDefinitionAdapter
public HepRepAttValue getAttValue(String name)
getAttValue
in interface HepRepAttribute
getAttValue
in class DefaultHepRepAttribute
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.
|
FreeHEP API Version current |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |