Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: IntegerProperty

[20:7] extends: NumberProperty

Wraps JavaFX's IntegerProperty backed by SimpleIntegerProperty. Holds an int value that other JavaFX components can bind to or listen on. The shared Property surface (bind / unbind / bindBidirectional / listeners / isBound / getName / getBean) is inherited from Property via NumberProperty; the asString family for printf-style formatting comes from NumberProperty itself. Construct empty (value 0), with an initial value, or via adopt(ajo) to wrap an existing property AJO returned by another widget's xProperty() accessor.

Methods

  • IntegerProperty (int Value = 0)

    Creates a new IntegerProperty with the given initial value (defaults to 0).

    • @p Value is the initial int value.
  • adopt (object Ajo)

    Wraps an existing IntegerProperty AussomJavaObject.

    • @p Ajo is an AussomJavaObject around a javafx IntegerProperty.
    • @r A new IntegerProperty wrapper.
  • get ()

    Returns the current int value.

  • set (int Value)

    Sets the int value via the primitive Java signature.

    • @p Value is the new int.
    • @r this object
  • setValue (int Value)

    Sets the value via the boxed Number API. Aussom int is boxed to java.lang.Integer before dispatch.

    • @p Value is the new int.
    • @r this object