Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: InventoryListView

[14:7] extends: ListView

Wraps FXGL's InventoryListView (com.almasb.fxgl.inventory.InventoryListView), a JavaFX ListView pre-bound to an Inventory's items list. Drops straight into any fx scene wrapper that accepts a ListView child.

Methods

  • InventoryListView (InventoryObj = null)

    Creates a new InventoryListView bound to the given Inventory. Pass null for the adopt path.

    • @p InventoryObj is an Inventory wrapper.
  • adopt (object Ajo)

    Wraps an existing InventoryListView AussomJavaObject.

    • @p Ajo is an AussomJavaObject around an InventoryListView.
    • @r A new wrapper.