Class TileMatrixSetPane

Object
Widget
TileMatrixSetPane
All Implemented Interfaces:
Localized

public class TileMatrixSetPane extends Widget
A visual representation of the internal tile matrices defined in a Tiled­Resource. Each Tile­Matrix instance is presented as a row in a table. The columns are the tile matrix identifier, the resolution, the number of tiles and (if applicable) the tile size.
Since:
1.7
See Also:
  • Field Details

  • Constructor Details

    • TileMatrixSetPane

      public TileMatrixSetPane(Locale locale)
      Creates an initially empty pane showing the content of a tile matrix.
      Parameters:
      locale - the locale for texts in controls, or null for the default locale.
  • Method Details

    • setContent

      public final void setContent(TiledResource data)
      Sets the data for which to show the tiling. This is a convenience method for setting content­Property value.
      Parameters:
      data - the data for which to show the tiling, or null if none.
    • getContent

      public final TiledResource getContent()
      Returns the data for which the tiling is currently shown, or null if none. This is a convenience method for fetching content­Property value.
      Returns:
      the table for which the tiling is currently shown, or null if none.
      See Also:
    • getView

      public Region getView()
      Returns the region containing the visual components managed by this Tile­Matrix­Set­Pane. The subclass is implementation dependent and may change in any future version.
      Specified by:
      get­View in class Widget
      Returns:
      the JavaFX component to insert in a scene graph.