Interface ManagedWindow

All Known Implementing Classes:
ImageViewWindow, InternalManagedWindow, SlotWindow, Spells

public interface ManagedWindow
A managed window.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the managed window name.
    int
    Get X coordinate of the window.
    int
    Get Y coordinate of the window.
    boolean
    Determine if the window is minimized.
    boolean
    Determine if the window is visible.
    boolean
    moveTo​(int x, int y)
    Move to a location.
    void
    setMinimized​(boolean minimized)
    Set the window as minimized.
    void
    setVisible​(boolean visible)
    Set the window as visible (or hidden).
  • Method Details

    • getName

      String getName()
      Get the managed window name.
      Returns:
      the name
    • getX

      int getX()
      Get X coordinate of the window.
      Returns:
      A value suitable for passing to moveTo().
    • getY

      int getY()
      Get Y coordinate of the window.
      Returns:
      A value suitable for passing to moveTo().
    • isMinimized

      boolean isMinimized()
      Determine if the window is minimized.
      Returns:
      true if the window is minimized.
    • isVisible

      boolean isVisible()
      Determine if the window is visible.
      Returns:
      true if the window is visible.
    • moveTo

      boolean moveTo(int x, int y)
      Move to a location. This may be subject to internal representation, and should only use what was passed from getX() and getY().
      Parameters:
      x - The X coordinate;
      y - The Y coordinate;
      Returns:
      true if the move was allowed.
    • setMinimized

      void setMinimized(boolean minimized)
      Set the window as minimized.
      Parameters:
      minimized - Whether the window should be minimized.
    • setVisible

      void setVisible(boolean visible)
      Set the window as visible (or hidden).
      Parameters:
      visible - Whether the window should be visible.