|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectde.mid.innovator.ui.PropertyCfg<T>
public class PropertyCfg<T>
The class is the Property interface default implementation
that can be used with Innovator applications.
The application uses this class to specify the properties which it will react
to upon runtime; this is done using a PropertyProvider.
You can specify a wide array of property configurations that are, e.g.
given to the PropertyProvider upon creation.
PropertyProvider,
Property,
PropertyProviderDefault| Constructor Summary | |
|---|---|
PropertyCfg(String key,
String help)
Creates a property configuration without a default value. |
|
PropertyCfg(String key,
T defVal,
String help)
Creates a property configuration of type T with a name, corresponding help string and configured default value. |
|
| Method Summary | |
|---|---|
int |
compareTo(Property o)
|
String |
getDefaultAsString()
Getter for default value as string. |
Object |
getDefaultValue()
Getter for default value. |
String |
getDescription()
Getter for additional help. |
String |
getKey()
Getter for key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyCfg(String key,
String help)
key - the property namehelp - additional help information shown about using the application
public PropertyCfg(String key,
T defVal,
String help)
key - the property namedefVal - the default valuehelp - additional help information shown about using the application| Method Detail |
|---|
public int compareTo(Property o)
compareTo in interface Comparable<Property>public String getDefaultAsString()
getDefaultAsString in interface Propertypublic Object getDefaultValue()
getDefaultValue in interface Propertypublic String getDescription()
getDescription in interface Propertypublic String getKey()
getKey in interface Property
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||