Interface DisplayWindow


  • public interface DisplayWindow
    A user interface window associated with a Display, containing a DisplayPanel.
    Author:
    Grant Harris, Barry DeZonia
    • Method Detail

      • setTitle

        void setTitle​(String s)
      • pack

        void pack()
      • showDisplay

        void showDisplay​(boolean visible)
        Places this component into the desktop environment. It should do appropriate size and locate the window. Different types of DisplayWindows (e.g. Image, Text) can implement this differently; for instance, in a tabbed enviroment, it is added to the appropriate set of tabs.
      • requestFocus

        void requestFocus()
      • close

        void close()
      • findDisplayContentScreenX

        int findDisplayContentScreenX()
        Finds the x coordinate on the screen of the origin of the display window's content.
      • findDisplayContentScreenY

        int findDisplayContentScreenY()
        Finds the y coordinate on the screen of the origin of the display window's content.