| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getJavaInitializationString()
Overrides com. Implements java. This method is intended for use when generating Java code to set the value of the property. |
| public void | setAsText(String text)
Overrides java. Implements java. Sets the property value by parsing a given String. |
| FloatEditor | back to summary |
|---|---|
| public FloatEditor() | |
| getJavaInitializationString | back to summary |
|---|---|
| public String getJavaInitializationString() Overrides com. Implements java. Doc from java. This method is intended for use when generating Java code to set the value of the property. It should return a fragment of Java code that can be used to initialize a variable with the current property value. Example results are "2", "new Color(127,127,34)", "Color.orange", etc.
| |
| setAsText | back to summary |
|---|---|
| public void setAsText(String text) throws IllegalArgumentException Overrides java. Implements java. Doc from java. Sets the property value by parsing a given String. May raise java.lang.IllegalArgumentException if either the String is badly formatted or if this kind of property can't be expressed as text.
| |