Class WindowButtons

java.lang.Object
com.tick42.glue.desktop.windows.WindowButtons

public class WindowButtons extends Object
Standard Button Options

Options for which standard buttons are shown by a window frame

Since:
1.4.17
  • Method Details

    • builder

      public static WindowButtons.Builder<?> builder()
      Create a new instance.
      Returns:
      a new WindowButtons.Builder instance, never null.
    • defaultButtonOptions

      public static WindowButtons defaultButtonOptions()
      Default standard button options
      Returns:
      WindowButtons.Builder with default window buttons behaviour already set, never null
    • showCloseButton

      public boolean showCloseButton()
      If true, the window frame will have "Close" button.
      Returns:
      if "Close button is shown
    • showCollapseButton

      public boolean showCollapseButton()
      If true, the window frame will have "Collapse/Expand" button.
      Returns:
      if "Collapse/Expand" button is shown
    • showLockUnlockButton

      public boolean showLockUnlockButton()
      If true, the window frame will have "Lock/Unlock" button.
      Returns:
      if "Lock/Unlock" button is shown
    • showMaximizeButton

      public boolean showMaximizeButton()
      If true, the window frame will have "Maximize" button.
      Returns:
      if "Maximize" button is shown
    • showMinimizeButton

      public boolean showMinimizeButton()
      If true, the window frame will have "Minimize" button.
      Returns:
      if "Minimize" button is shown