All Implemented Interfaces:
Toggleable, KeyEventListener
Direct Known Subclasses:
Button, GridOverlay, ListPane, SimpleListItem, SingleChoiceListPane, TextBox

public abstract class ActiveItem
extends WindowItem
implements Toggleable
An abstraction for any object containable in a Window
  • Constructor Details

    • ActiveItem

      protected ActiveItem​(WindowItem parent, CursorPosition initCoord, java.lang.String id)
      Default constructor

      Creates an active item using its default settings;
      The initial coordinates are relative to the object's parent

      Parameters:
      parent - the Window containing this
      initCoord - the item
      id - the object id
    • ActiveItem

      protected ActiveItem​(WindowItem parent, CursorPosition initCoord, int width, int height, java.lang.String id)
      Custom constructor

      Creates an active item using custom settings
      The initial coordinates are relative to the object's parent

      Parameters:
      parent - the Window containing this
      initCoord - the item coordinates
      width - the object width
      height - the object height
      id - the object id
  • Method Details