public interface GuiWindow extends Widget<GuiOutputManager>
| Modifier and Type | Field and Description |
|---|---|
static byte |
ZSCORE_ALWAYS_ON_TOP
Relative z-order of a top-level window with ALWAYS-ON-TOP set
|
static byte |
ZSCORE_NORMAL
Relative z-order of a regular top-level window
|
static byte |
ZSCORE_TOP_ONLY
Relative z-order of a top-level window with TOP-ONLY set
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this window.
|
CoordinatesConversion |
coordinates()
Returns the output window's coordinates conversion service.
|
Border<GuiOutputManager> |
getBorder()
Returns the window's border implementation.
|
Container<GuiOutputManager> |
getClientContentPane()
Returns the container where useful client content widgets are placed.
|
default boolean |
getFocusCreatedByKeyboard()
Getter for the focusCreatedByKeyboard.
|
MessageAreaGuiImpl |
getGuiMessageArea()
Get the message area widget associated with this window.
|
Dimension |
getMaxWorkspaceSize()
Get the maximum size of the window workspace area.
|
MessageArea<GuiOutputManager> |
getMessageArea()
Get the message area widget associated with this window.
|
NativeDimension |
getMinSize()
Returns the window minimum size.
|
NativeDimension |
getResizedSize()
Determine the resized window size.
|
StatusLine<GuiOutputManager> |
getStatusArea()
Get the status area widget associated with this window.
|
WindowTitleBar |
getTitleBar()
Get the title bar widget associated witn this window.
|
NativeDimension |
getWorkspaceNativeSize()
Get the native size of the window workspace area.
|
NativePoint |
getWorkspaceScreenLocation()
Get the screen location of the window workspace area, in native units.
|
default int |
getZOrderScore()
The method returns the window's relative z-order.
|
boolean |
hasDecorations()
Determine if this window can have decorations.
|
default void |
iconify(boolean postEvent)
Iconify the window.
|
default boolean |
isDesktopMinimized()
Returns
true when the window is in the state "desktop-minimized", that is
the window is minimized but its SHOW-IN-TASKBAR attribute is set to
false. |
boolean |
isMaximized()
Check if the window is already maximized - it can't be resized.
|
boolean |
isMinimized()
Check if the window is minimized.
|
boolean |
isResizeWorkspace()
Determine if this window workspace needs to be resized.
|
boolean |
isResizing()
Determine if this window is being resized.
|
default boolean |
isShareActivationWithOwner()
This method indicates whether the window shares its activation
state with its owner.
|
boolean |
loadWindowIcon(boolean small,
java.lang.String name)
Loads the new application icon for given window from the client side filesystem.
|
default void |
maximize(boolean postEvent)
Maximize this window.
|
void |
resizeTo(NativePoint origin,
NativeDimension size)
Resize the widget to the specified dimensions.
|
void |
resizeTo(NativePoint origin,
NativeDimension size,
boolean raise)
Resize the widget to the specified dimensions.
|
int |
resolveTitleFont()
Resolve the font associated with the window's title.
|
default void |
restore(boolean postEvent)
Restore the window by raising the
WINDOW-RESTORE event. |
default void |
setFocusCreatedByKeyboard(boolean focusCreatedByKeyboard)
Setter for focusCreatedByKeyboard.
|
void |
setLocation(double x,
double y)
Set window location.
|
void |
setPhysicalLocation(int x,
int y)
Set window physical location.
|
void |
setSize(double width,
double height)
Set window size.
|
boolean |
setWindowIcon(byte[] newIcon)
Sets the new application icon for given window on the client side.
|
void |
setWorkspaceLocation(int x,
int y)
Sets the window workspace location.
|
void |
setWorkspaceNativeSize(int width,
int height)
Sets the native size of the window workspace area.
|
acceptsEscAsAnyKey, acceptTrigger, addFocusListener, addKeyListener, ancestor, ancestorId, bounds, canMovetoTop, clearWidget, completeTrigger, config, defaultMousePtr, destroy, dimension, displayPhysicalLocation, draw, drawCaret, enclosingFrame, enforceDefaultMousePtr, findMouseSource, focusTraversable, forceCursorOnFocus, forceVisibility, getActualBounds, getCustomMousePointer, getEffectiveMousePointer, getId, getIdForTrigger, getLegacyWidget, getLoadedMousePointer, getMenuMouse, getMouseActions, getMousePosition, getSelectedText, getState, getTriggerWidget, getTriggerWidget, getVisiblePart, getZOrderClass, hasFocus, hasFocus, hasTooltip, height, hidden, hide, highlighted, ignoreEnable, initialHeight, initialWidth, insets, isCurrent, isCurrent, isDirectManipulable, isDirectManipulationActive, isDirectManipulationActiveOrInUIB, isDisplayed, isDroppable, isEnabled, isFocusable, isHeader, isInitialValueLayout, isLegacyFocus, isProcessProgressEvent, isRealized, isRepaintDisabled, isRMBEntrySupported, isTabStop, isThreeD, isTotallyObscured, isVisible, isVisible, location, maySwitchFocus, minimumSize, moveToBottom, moveToTop, name, navigable, oleDrag, parent, parent, parent, parentObject, parentOrSelf, parentOrSelfObject, physicalBounds, physicalDimension, physicalLocation, postprocessConfig, preventFocusWhenMouseDownEventDefined, processDirectManipulationEvent, processEvent, processFocusEvent, processKeyEvent, processKeyListeners, processMnemonic, raiseLegacyMouseEvents, refreshWidget, registerWidgetListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocus, requestSync, resolvePopupMenuId, screen, screenLocation, screenPhysicalLocation, setDirectManipulationActive, setEnabled, setHidden, setHighlighted, setLocation, setMousePointer, setMousePointer, setParent, setSensitiveForUIB, setState, setVisible, setWindow, show, startTrigger, supportsCustomMousePointer, systemFocusGrabbed, topLevelWindow, unrealize, unregisterWidgetListener, validateDisplayValue, widgetStateChanged, width, windowstatic final byte ZSCORE_ALWAYS_ON_TOP
static final byte ZSCORE_TOP_ONLY
static final byte ZSCORE_NORMAL
int resolveTitleFont()
MessageAreaGuiImpl getGuiMessageArea()
default void iconify(boolean postEvent)
postEvent - When true the method posts the WINDOW-MINIMIZED legacy event,
false means no event is posted.default void restore(boolean postEvent)
WINDOW-RESTORE event.postEvent - When true the method posts the WINDOW-RESTORED legacy event,
false means no event is posted.default void maximize(boolean postEvent)
postEvent - When true the method posts the WINDOW-MAXIMIZED legacy event,
false means no event is posted.void resizeTo(NativePoint origin, NativeDimension size)
origin - The top-left window corner new position.size - The new window size.void resizeTo(NativePoint origin, NativeDimension size, boolean raise)
resizeTo in interface Widget<GuiOutputManager>origin - The top-left window corner new position.size - The new window size.raise - Flag indicating if the 4GL WINDOW-RESIZED event needs to be raised.boolean setWindowIcon(byte[] newIcon)
newIcon - A new icon image array data.TRUE if operation successful FALSE otherwise.boolean loadWindowIcon(boolean small,
java.lang.String name)
small - Flag indicating usage of the small icon case(16x16 in size).name - The fully qualified file name for the icon to be loaded.TRUE if operation successful FALSE otherwise.boolean isMaximized()
true, false otherwise.boolean isMinimized()
true, false otherwise.default boolean isDesktopMinimized()
true when the window is in the state "desktop-minimized", that is
the window is minimized but its SHOW-IN-TASKBAR attribute is set to
false.default boolean getFocusCreatedByKeyboard()
default void setFocusCreatedByKeyboard(boolean focusCreatedByKeyboard)
focusCreatedByKeyboard - The new value of focusCreatedByKeyboard.CoordinatesConversion coordinates()
CoordinatesConversion instance.void setSize(double width,
double height)
width - New width.height - New height.boolean isResizing()
true, false
otherwise.boolean isResizeWorkspace()
NativeDimension getResizedSize()
WindowTitleBar getTitleBar()
StatusLine<GuiOutputManager> getStatusArea()
NativePoint getWorkspaceScreenLocation()
NativeDimension getWorkspaceNativeSize()
Dimension getMaxWorkspaceSize()
void setWorkspaceNativeSize(int width,
int height)
width - New workspace width.height - New workspace height.void setWorkspaceLocation(int x,
int y)
x - The x location.y - The y location.void close()
MessageArea<GuiOutputManager> getMessageArea()
void setLocation(double x,
double y)
setLocation in interface Widget<GuiOutputManager>x - Window COLUMN.y - Window ROW.void setPhysicalLocation(int x,
int y)
setPhysicalLocation in interface Widget<GuiOutputManager>x - Widget physical X.y - Widget physical Y.NativeDimension getMinSize()
default boolean isShareActivationWithOwner()
Border<GuiOutputManager> getBorder()
null
is returned, the window has no border.null.boolean hasDecorations()
default int getZOrderScore()
Container<GuiOutputManager> getClientContentPane()