Class MapTilePanel


  • public class MapTilePanel
    extends java.lang.Object
    A MapTilePanel extends a TilePanel with a border and makes focus traversal work within the map tile pane.
    • Constructor Summary

      Constructors 
      Constructor Description
      MapTilePanel​(int direction, int @NotNull [] nextFocus, @NotNull TilePanel tilePanel, @NotNull java.lang.String name)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull TilePanel getTilePanel()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapTilePanel

        public MapTilePanel​(int direction,
                            int @NotNull [] nextFocus,
                            @NotNull
                            @NotNull TilePanel tilePanel,
                            @NotNull
                            @NotNull java.lang.String name)
        Creates a new instance.
        Parameters:
        direction - index, used to determine the direction and corresponding locale keys
        nextFocus - the indices of next focus
        tilePanel - the tile panel to show
    • Method Detail

      • getTilePanel

        @NotNull
        public @NotNull TilePanel getTilePanel()