|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.sphinx.tools.gui.util.ConfigurableProperty
public class ConfigurableProperty
This class holds information about a Configurable
property that
is owned by a Configurable
class. The information includes
name of property, default value, and description
ConfigurableComponent
Constructor Summary | |
---|---|
ConfigurableProperty(java.lang.String name,
java.lang.String defaultval,
PropertyType type,
java.lang.String desc,
java.lang.String original)
Creates a new instance of ConfigurableProperty |
|
ConfigurableProperty(java.lang.String name,
java.lang.String defaultval,
PropertyType type,
java.lang.String desc,
java.lang.String original,
java.lang.String class_type)
Creates a new instance of ConfigurableProperty, and this property needs a certain class type as value |
Method Summary | |
---|---|
java.lang.String |
getClassType()
|
java.lang.String |
getDefault()
|
java.lang.String |
getDesc()
|
java.lang.String |
getName()
|
java.lang.String |
getOriginalName()
|
PropertyType |
getType()
|
java.lang.String |
toString()
This method is used to desribe the values of the ConfigurableProperty
It is used mainly for debugging and testing purposes |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigurableProperty(java.lang.String name, java.lang.String defaultval, PropertyType type, java.lang.String desc, java.lang.String original)
name
- Name of propertydefaultval
- Default valuetype
- Property typedesc
- Description about this propertyoriginal
- Original name of property in the source codepublic ConfigurableProperty(java.lang.String name, java.lang.String defaultval, PropertyType type, java.lang.String desc, java.lang.String original, java.lang.String class_type)
name
- Name of propertydefaultval
- Default valuetype
- Property typedesc
- Description about this propertyoriginal
- Original name of property in the source codeclass_type
- The type of class for this propertyMethod Detail |
---|
public java.lang.String toString()
ConfigurableProperty
It is used mainly for debugging and testing purposes
toString
in class java.lang.Object
public java.lang.String getName()
public java.lang.String getDefault()
public PropertyType getType()
public java.lang.String getClassType()
public java.lang.String getOriginalName()
public java.lang.String getDesc()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |