|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HepRepAttValue
HepRepAttValue interface.
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 | |
---|---|
HepRepAttValue |
copy()
Returns a deep copy of this attvalue. |
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 |
showLabel()
Returns the flag bits for showing this attvalue as a label, defined in HepRepConstants with names SHOW_xxx. |
Method Detail |
---|
String getName()
String getLowerCaseName()
int getType()
String getTypeName()
int showLabel()
String getString() throws HepRepTypeException
HepRepTypeException
- if type is not string.String getLowerCaseString() throws HepRepTypeException
HepRepTypeException
- if type is not string.String getAsString()
Color getColor() throws HepRepTypeException
HepRepTypeException
- if type is not Color.long getLong() throws HepRepTypeException
HepRepTypeException
- if type is not long.int getInteger() throws HepRepTypeException
HepRepTypeException
- if type is not int.double getDouble() throws HepRepTypeException
HepRepTypeException
- if type is not double.boolean getBoolean() throws HepRepTypeException
HepRepTypeException
- if type is not boolean.HepRepAttValue copy() throws CloneNotSupportedException
CloneNotSupportedException
- if copying is not possible.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |