Package com.tick42.glue.desktop.windows
Class WindowOptions.Builder<B extends WindowOptions.Builder<B>>
java.lang.Object
com.tick42.glue.desktop.windows.WindowOptions.Builder<B>
- Enclosing class:
- WindowOptions
public abstract static class WindowOptions.Builder<B extends WindowOptions.Builder<B>>
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()channel()Makes the window channel enabledMakes the window channel enabled and sets its channelDisables channelsmode(WindowMode mode) Determines window modeonTopState(WindowOnTopState onTopState) Specify whether window would be on top of z-order even when other windows are focused.Specify registration timeout.Specify window titlewindowButtons(WindowButtons windowButtons) Determines which standard buttons to be shown on the new window's frame
-
Method Details
-
title
Specify window title- Parameters:
title- window title- Returns:
- this builder, never
null
-
timeout
Specify registration timeout.- Parameters:
timeout- registration timeout- Returns:
- this builder, never
null
-
channel
Makes the window channel enabled- Returns:
- this builder, never
null
-
channel
Makes the window channel enabled and sets its channel- Parameters:
channel- name of the desired channel- Returns:
- this builder, never
null
-
disableChannel
Disables channels- Returns:
- this builder, never
null
-
mode
Determines window mode- Parameters:
mode- can beWindowMode.TABorWindowMode.FLAT, defaultWindowMode.TAB- Returns:
- this builder, never
null
-
onTopState
Specify whether window would be on top of z-order even when other windows are focused. Always means the window will keep this on top setting even after being put into another window's tab; If yes is chosen, the window will remain on top until it is put into another window's tab.- Parameters:
onTopState- can beWindowOnTopState.ALWAYS,WindowOnTopState.YES, orWindowOnTopState.NO, defaultWindowOnTopState.NO- Returns:
- this builder, never
null - Since:
- 1.4.15
-
windowButtons
Determines which standard buttons to be shown on the new window's frame- Parameters:
windowButtons- options builder for which standard buttons to be shown on the frame, defaultWindowButtons.defaultButtonOptions- Returns:
- this builder, never
null - Since:
- 1.4.17
-
build
-