Spec-Zone.ru › OpenJavaFX 8
javafx.beans.value

Interface WritableFloatValue

All Superinterfaces:

WritableNumberValue, WritableValue<Number>

All Known Implementing Classes:

FloatProperty, FloatPropertyBase, JavaBeanFloatProperty, ReadOnlyFloatWrapper, SimpleFloatProperty, SimpleStyleableFloatProperty, StyleableFloatProperty



public interface WritableFloatValue
extends WritableNumberValue
A writable float value.

Since:

JavaFX 2.0

See Also:

WritableValue, WritableNumberValue

  • Method Summary

    All MethodsInstance MethodsAbstract Methods
    Modifier and Type Method and Description
    float get()
    Get the wrapped value.
    void set(float value)
    Set the wrapped value.
    void setValue(Number value)
    Set the wrapped value.
    • Methods inherited from interface javafx.beans.value.WritableValue

      getValue
  • Method Detail

    • get

      float get()
      Get the wrapped value. Unlike WritableValue.getValue(), this method returns primitive float. Needs to be identical to WritableValue.getValue().

      Returns:

      The current value

    • set

      void set(float value)
      Set the wrapped value. Unlike setValue(java.lang.Number), this method uses primitive float.

      Parameters:

      value - The new value

    • setValue

      void setValue(Number value)
      Set the wrapped value.

      Note: this method should accept null without throwing an exception, setting "0.0" instead.

      Specified by:

      setValue in interface WritableValue<Number>

      Parameters:

      value - The new value

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API