de.caff.util.ui

## Class FloatUIResourceHandler

- java.lang.Object
- - de.caff.util.ui.UIResourceHandler
  - - de.caff.util.ui.FloatUIResourceHandler

-     public class FloatUIResourceHandler
      extends UIResourceHandler

  UI resource handler for float values.
  Author:
    Rammi

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FloatUIResourceHandler(java.lang.String id)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Class<?>` | `getHandledClass()` Get the class handled by this resource handler.
    `protected java.lang.Object` | `toValue(java.lang.String text)` Convert a textual representation of a value to a value.

    - ### Methods inherited from class de.caff.util.ui.UIResourceHandler

      `fromValue, getID, getValue, setValue`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### FloatUIResourceHandler

          public FloatUIResourceHandler(java.lang.String id)

      Constructor.
      Parameters:
        `id` - ID of resource

  - ### Method Detail

    - #### toValue

          protected java.lang.Object toValue(java.lang.String text)

      Convert a textual representation of a value to a value.
      Specified by:
        `toValue` in class `UIResourceHandler`
      Parameters:
        `text` - textual representation
      Returns:
        the value or `null` if the text cannot be converted
      See Also:
        `UIResourceHandler.fromValue(Object)`

    - #### getHandledClass

          public java.lang.Class<?> getHandledClass()

      Get the class handled by this resource handler.
      Specified by:
        `getHandledClass` in class `UIResourceHandler`
      Returns:
        handled class