com.borland.primetime.properties
Class GlobalFloatProperty
java.lang.Object
|
+--com.borland.primetime.properties.Property
|
+--com.borland.primetime.properties.GlobalProperty
|
+--com.borland.primetime.properties.GlobalFloatProperty
- public class GlobalFloatProperty
- extends GlobalProperty
Instances of BasicFloatProperty are used to represent global float
settings under the user's control.
Method Summary |
float |
getFloat()
Fetches the current value of the boolean property. |
boolean |
setFloat(float value)
Changes the current value of the boolean property. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
GlobalFloatProperty
public GlobalFloatProperty(java.lang.String category,
java.lang.String name)
GlobalFloatProperty
public GlobalFloatProperty(java.lang.String category,
java.lang.String name,
float defaultValue)
setFloat
public boolean setFloat(float value)
- Changes the current value of the boolean property.
- Parameters:
value
- The desired float value.- Returns:
- True if the property value was changed as a result, false if the
property was already set to this value.
getFloat
public float getFloat()
- Fetches the current value of the boolean property.
- Returns:
- The current float value.