Class WidgetMap

  • Constructor Details Link icon

    • WidgetMap Link icon

      public WidgetMap()
  • Method Details Link icon

    • setup Link icon

      public void setup(boolean show)
      Description copied from class: Map
      When a game is started, create a top-level window, if none exists. When a game is ended, remove all boards from the map.
      Specified by:
      setup in interface GameComponent
      Overrides:
      setup in class Map
      Parameters:
      show - true if a game is starting, false if a game is ending
      See Also:
    • shouldDockIntoMainWindow Link icon

      public boolean shouldDockIntoMainWindow()
      Widget maps are always undocked
      Overrides:
      shouldDockIntoMainWindow in class Map
      Returns:
      whether this map should dock into the main window
    • getAttributeVisibility Link icon

      public VisibilityCondition getAttributeVisibility(String name)
      Description copied from class: AbstractConfigurable
      By default, all attributes are visible
      Specified by:
      getAttributeVisibility in interface AutoConfigurable
      Overrides:
      getAttributeVisibility in class Map
      Parameters:
      name - Name (key) of one of this component's attributes
      Returns:
      Visibility condition for the corresponding component
    • getScroll Link icon

      public JScrollPane getScroll()