Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: TradeListView

[15:7] extends: ListView

Wraps FXGL's TradeListView (com.almasb.fxgl.trade.view.TradeListView), a JavaFX ListView pre-styled with the fxgl-trade-list-view stylesheet and bound to an ObservableList of TradeItems. Each row renders the item name, quantity, and buy price.

Methods

  • TradeListView (ItemsList = null)

    Creates a new TradeListView bound to the given ObservableList. Pass null for the adopt path.

    • @p ItemsList is an AussomJavaObject around an ObservableList<TradeItem<*>>.
  • adopt (object Ajo)

    Wraps an existing TradeListView AussomJavaObject.

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