Interface ApplicationFrame


  • public interface ApplicationFrame
    Common interface for top-level application frames.
    Author:
    Grant Harris, Curtis Rueden
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void activate()
      Activate the application frame, bringing it to the front.
      int getLocationX()
      Gets the X coordinate of the application frame's top left corner.
      int getLocationY()
      Gets the Y coordinate of the application frame's top left corner.
      void setLocation​(int x, int y)
      Sets the coordinates of the application frame's top left corner.
      void setVisible​(boolean visible)
      Show or hide the application frame
    • Method Detail

      • setLocation

        void setLocation​(int x,
                         int y)
        Sets the coordinates of the application frame's top left corner.
      • getLocationX

        int getLocationX()
        Gets the X coordinate of the application frame's top left corner.
      • getLocationY

        int getLocationY()
        Gets the Y coordinate of the application frame's top left corner.
      • activate

        void activate()
        Activate the application frame, bringing it to the front.
      • setVisible

        void setVisible​(boolean visible)
        Show or hide the application frame