Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: ObjectProperty

[16:7] extends: Property

Wraps JavaFX's ObjectProperty backed by SimpleObjectProperty. Holds an arbitrary Java object reference. Shared Property surface (bind / listeners / isBound / getName / etc.) is inherited. Accepts either a raw AussomJavaObject or any Aussom wrapper whose .obj member holds the underlying Java object.

Methods

  • ObjectProperty (InitialAjo = null)

    Creates a new ObjectProperty with an optional initial value. Pass null (default) for an empty property; pass any Aussom wrapper or AJO to seed the value.

    • @p InitialAjo is the optional initial value.
  • adopt (object Ajo)

    Wraps an existing ObjectProperty AussomJavaObject.

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

    Returns the current value as a raw AJO.

  • set (Value)

    Sets the value. Accepts either an AJO or an Aussom wrapper.

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

    Sets the value via setValue. Same behavior as set for an ObjectProperty.

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