|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.tools.gui.util.PropertyType
public abstract class PropertyType
an enum-style type that defines the possible property types.
Field Summary | |
---|---|
static PropertyType |
BOOLEAN
An integer type |
static PropertyType |
COMPONENT
A String type |
static PropertyType |
COMPONENT_LIST
An array of components |
static PropertyType |
DOUBLE
A floating point type |
static PropertyType |
FLOAT
A floating point type |
static PropertyType |
INT
An integer type |
static PropertyType |
RESOURCE
A Resource type. |
static PropertyType |
STRING
A String type |
static PropertyType |
STRING_LIST
An array of strings |
Method Summary | |
---|---|
abstract boolean |
isValid(java.lang.Object obj)
Determines if the given object can be converted to this type. |
static PropertyType |
toPropertyType(java.lang.String type)
convert from String to a PropertyType |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final PropertyType INT
public static final PropertyType BOOLEAN
public static final PropertyType FLOAT
public static final PropertyType DOUBLE
public static final PropertyType COMPONENT
public static final PropertyType COMPONENT_LIST
public static final PropertyType STRING
public static final PropertyType RESOURCE
public static final PropertyType STRING_LIST
Method Detail |
---|
public static PropertyType toPropertyType(java.lang.String type)
type
-
public java.lang.String toString()
toString
in class java.lang.Object
public abstract boolean isValid(java.lang.Object obj)
obj
- the object to verify
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |