Klasse WindowSetting

java.lang.Object
uibooster.components.WindowSetting

public class WindowSetting extends Object
  • Konstruktordetails

    • WindowSetting

      public WindowSetting(FormBuilder formBuilder)
  • Methodendetails

    • hide

      public WindowSetting hide()
      Hides the window on start. It runs in the background.
    • setSize

      public WindowSetting setSize(int width, int height)
      Sets the preferred window size in pixel.
      Parameter:
      width - expects the width in pixel
      height - expects the height in pixel
    • setUndecorated

      public WindowSetting setUndecorated()
      Hides the window titlebar if it's supported by the OS
    • setPosition

      public WindowSetting setPosition(int positionX, int positionY)
      Sets the preferred position of the window on startup. The default position is centered on screen.
      Parameter:
      positionX - expects the pixels for the middle of the form on the x-axis (width-axis)
      positionY - expects the pixels for the middle of the form on the y-axis (height-axis)
    • save

      public FormBuilder save()
      Saves the changes and ends the window-settings.