Module AM37

Class ListPane

All Implemented Interfaces:
Toggleable, KeyEventListener

public class ListPane
extends ActiveItem
implements KeyEventListener
A pane showing a list of elements; when the enter key is pressed, the currently selected item is triggered, causing it to return its value to the inputManager and this to be hidden by the container
  • Constructor Details

    • ListPane

      public ListPane​(Window caller, CursorPosition initCoord, int width, int height, java.util.Map<java.lang.String,​java.util.List<java.lang.String>> options, java.lang.String id)
      Custom constructor

      Creates a SimpleListChoiceDialog, using custom values for its width and height

      Parameters:
      caller - the window which invoked this
      initCoord - the initial coordinates
      width - the pane width
      height - the pane height
      options - the options to show
      id - the item id
  • Method Details