Module org.autogui

Annotation Interface GuiInitWindow


public @interface GuiInitWindow
initial settings for window : determines the initial size of the window of the attached type
     @GuiIncluded
     @GuiInits(window = @GuiInitWindow(width=300, height=500))
     public class MyApp {  //the size of the created GUI window for the class becomes 300x500.
          ...
     }
 
Since:
1.8
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
    int
     
  • Element Details

    • width

      int width
      Returns:
      the width of the window; enabled when both width and height() has valid values.
      Default:
      0
    • height

      int height
      Returns:
      the height of the window; enabled when both width() and height() has valid values.
      Default:
      0