|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthep.graphics.heprep.corba.HepRepAttValueAdapter
| 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 | |
HepRepAttValueAdapter(HepRepAttValue hepRepAttValue)
|
|
| Method Summary | |
HepRepAttValue |
copy()
Returns a deep copy of this attvalue. |
boolean |
equals(Object o)
|
String |
getAsString()
Returns value as string. |
boolean |
getBoolean()
Returns value as boolean. |
Color |
getColor()
Returns value as Color. |
double |
getDouble()
Returns value as double. |
int |
getInteger()
Returns value as int. |
long |
getLong()
Returns value as long. |
String |
getLowerCaseName()
Returns lowercased name of the attvalue. |
String |
getLowerCaseString()
Returns value as lowercase string. |
String |
getName()
Returns name of the attvalue. |
String |
getString()
Returns value as string. |
int |
getType()
Returns type of the attvalue, defined in HepRepConstants with names TYPE_xxx. |
String |
getTypeName()
Returns the Java-like name for the type of this attvalue. |
int |
hashCode()
|
int |
showLabel()
Returns the flag bits for showing this attvalue as a label, defined in HepRepConstants with names SHOW_xxx. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String cvsId
| Constructor Detail |
public HepRepAttValueAdapter(HepRepAttValue hepRepAttValue)
| Method Detail |
public HepRepAttValue copy()
throws CloneNotSupportedException
HepRepAttValue
copy in interface HepRepAttValueCloneNotSupportedException - if copying is not possible.public String getName()
HepRepAttValue
getName in interface HepRepAttValuepublic String getLowerCaseName()
HepRepAttValue
getLowerCaseName in interface HepRepAttValuepublic int getType()
HepRepAttValue
getType in interface HepRepAttValuepublic String getTypeName()
HepRepAttValue
getTypeName in interface HepRepAttValuepublic int showLabel()
HepRepAttValue
showLabel in interface HepRepAttValue
public String getString()
throws HepRepTypeException
HepRepAttValue
getString in interface HepRepAttValueHepRepTypeException - if type is not string.
public String getLowerCaseString()
throws HepRepTypeException
HepRepAttValue
getLowerCaseString in interface HepRepAttValueHepRepTypeException - if type is not string.
public Color getColor()
throws HepRepTypeException
HepRepAttValue
getColor in interface HepRepAttValueHepRepTypeException - if type is not Color.
public long getLong()
throws HepRepTypeException
HepRepAttValue
getLong in interface HepRepAttValueHepRepTypeException - if type is not long.
public int getInteger()
throws HepRepTypeException
HepRepAttValue
getInteger in interface HepRepAttValueHepRepTypeException - if type is not int.
public double getDouble()
throws HepRepTypeException
HepRepAttValue
getDouble in interface HepRepAttValueHepRepTypeException - if type is not double.
public boolean getBoolean()
throws HepRepTypeException
HepRepAttValue
getBoolean in interface HepRepAttValueHepRepTypeException - if type is not boolean.public String getAsString()
HepRepAttValue
getAsString in interface HepRepAttValuepublic String toString()
public boolean equals(Object o)
public int hashCode()
|
FreeHEP API Version current |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||