Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: StringProperty

[16:7] extends: Property

Wraps JavaFX's StringProperty backed by SimpleStringProperty. Holds a string value. Shared Property surface (bind / listeners / isBound / getName / etc.) is inherited. Not a numeric property — no asString overloads. (StringExpression has concat / isEqualTo / etc.; not wrapped here.)

Methods

  • StringProperty (string Value = "")

    Creates a new StringProperty with the given initial value (defaults to "").

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

    Wraps an existing StringProperty AussomJavaObject.

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

    Returns the current string value.

  • getValue ()

    Returns the value as a plain Aussom string (unboxed). Overrides the Property base which returns an AJO — the Java side here returns a String which Aussom can unbox directly.

    • @r The current string.
  • set (string Value)

    Sets the string value.

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

    Sets the value via the boxed API. No boxing actually needed for String, but the method exists for API parity with the other typed properties.

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