Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Vec2PropertyViewFactory

[15:7] extends: PropertyViewFactory

Wraps FXGL's Vec2PropertyViewFactory (com.almasb.fxgl.ui.property.Vec2PropertyViewFactory), a concrete PropertyViewFactory that builds an HBox of two TextFields bound to a Vec2 ObjectProperty's x and y components. No constructor arguments.

Methods

  • Vec2PropertyViewFactory ()

    Creates a new Vec2PropertyViewFactory.

  • adopt (object Ajo)

    Wraps an existing factory AussomJavaObject.

    • @p Ajo is an AussomJavaObject around a Vec2PropertyViewFactory.
    • @r A new wrapper.
  • makeView (object PropAjo)

    Builds the view Node for the supplied Vec2 ObjectProperty AJO. Returns the carry-around HBox containing the two TextFields.

  • onPropertyChanged (object PropAjo, object ViewAjo)

    Pushes a property change to the view.

  • onViewChanged (object PropAjo, object ViewAjo)

    Pulls a view-side change back into the property.