public interface CommonWindow
Modifier and Type | Field and Description |
---|---|
static int |
WINDOW_STATE_DELAYED_MINIMIZE
Window state: delayed minimized.
|
static int |
WINDOW_STATE_MAXIMIZED
Window state: maximized.
|
static int |
WINDOW_STATE_MINIMIZED
Window state: minimized.
|
static int |
WINDOW_STATE_NORMAL
Window state: normal.
|
Modifier and Type | Method and Description |
---|---|
decimal |
getFullHeightChars()
Gets the FULL-HEIGHT-CHARS writable attribute.
|
integer |
getFullHeightPixels()
Gets the FULL-HEIGHT-PIXELS writable attribute.
|
decimal |
getFullWidthChars()
Gets the FULL-WIDTH-CHARS writable attribute.
|
integer |
getFullWidthPixels()
Gets the FULL-WIDTH-PIXELS writable attribute.
|
character |
getIcon()
Get icon file name previously loaded by
loadIcon(character) . |
decimal |
getMaxHeight()
Get window maximal height.
|
decimal |
getMaxHeightChars()
Gets the MAX-HEIGHT-CHARS writable attribute.
|
integer |
getMaxHeightPixels()
Gets the MAX-HEIGHT-PIXELS writable attribute.
|
decimal |
getMaxWidth()
Get window maximal width.
|
decimal |
getMaxWidthChars()
Gets the MAX-WIDTH-CHARS writable attribute.
|
integer |
getMaxWidthPixels()
Gets the MAX-WIDTH-PIXELS writable attribute.
|
handle |
getMenubar()
Get window MENUBAR.
|
int64 |
getMessageAreaFont()
Get the message-area's font.
|
decimal |
getMinHeightChars()
Gets the MIN-HEIGHT-CHARS writable attribute.
|
integer |
getMinHeightPixels()
Gets the MIN-HEIGHT-PIXELS writable attribute.
|
decimal |
getMinWidthChars()
Gets the MIN-WIDTH-CHARS writable attribute.
|
integer |
getMinWidthPixels()
Gets the MIN-WIDTH-PIXELS writable attribute.
|
decimal |
getScreenLines()
Gets the SCREEN-LINES readable attribute.
|
int64 |
getStatusAreaFont()
Get the status-area's font.
|
int64 |
getWindowState()
Gets the WINDOW-STATE attribute.
|
logical |
isAlwaysOnTop()
Gets the ALWAYS-ON-TOP attribute's value.
|
logical |
isControlBox()
Gets the CONTROL-BOX attribute's value.
|
logical |
isKeepFrameZOrder()
Gets the KEEP-FRAME-Z-ORDER writable attribute.
|
logical |
isKeepZOrder()
Check if window has KEEP-Z-ORDER option set.
|
logical |
isMaxButton()
Gets the MAX-BUTTON attribute.
|
logical |
isMessageArea()
Check if window has message area.
|
logical |
isMinButton()
Gets the MIN-BUTTON attribute.
|
logical |
isResize()
Check if window size can be changed.
|
logical |
isScrollBars()
Check if window has scrollbars.
|
logical |
isShowInTaskbar()
Gets the SHOW-IN-TASKBAR attribute.
|
logical |
isSmallTitle()
Gets the SMALL-TITLE attribute's value.
|
logical |
isStatusArea()
Check if window has message area.
|
logical |
loadIcon(character searchPath)
Load icon for window.
|
logical |
loadIcon(java.lang.String searchPath)
Load icon for window.
|
logical |
loadSmallIcon(character searchPath)
Load small icon(16x16) for window.
|
logical |
loadSmallIcon(java.lang.String searchPath)
Load small icon(16x16) for window.
|
void |
setAlwaysOnTop(boolean value)
Sets the ALWAYS-ON-TOP attribute.
|
default void |
setAlwaysOnTop(logical value)
Sets the ALWAYS-ON-TOP attribute.
|
void |
setControlBox(boolean value)
Sets the CONTROL-BOX attribute.
|
default void |
setControlBox(logical value)
Sets the CONTROL-BOX attribute.
|
void |
setKeepFrameZOrder(boolean keep)
Sets the KEEP-FRAME-Z-ORDER writable attribute.
|
void |
setKeepFrameZOrder(logical keep)
Sets the KEEP-FRAME-Z-ORDER writable attribute.
|
void |
setKeepZOrder(logical logical)
Enable/disable KEEP-Z-ORDER option.
|
void |
setMaxButton(boolean value)
Sets the MAX-BUTTON attribute.
|
default void |
setMaxButton(logical value)
Sets the MAX-BUTTON attribute.
|
void |
setMaxHeight(NumberType decimal)
Set maximal height.
|
void |
setMaxHeightChars(NumberType max)
Sets the MAX-HEIGHT-CHARS writable attribute.
|
void |
setMaxHeightPixels(integer max)
Sets the MAX-HEIGHT-PIXELS writable attribute.
|
void |
setMaxWidth(NumberType decimal)
Set maximal width.
|
void |
setMaxWidthChars(NumberType max)
Sets the MAX-WIDTH-CHARS writable attribute.
|
void |
setMaxWidthPixels(integer max)
Sets the MAX-WIDTH-CHARS writable attribute.
|
void |
setMenubar(handle menubar)
Set window MENUBAR.
|
void |
setMenubar(MenuWidget menubar)
Set window MENUBAR.
|
void |
setMessageArea(logical logical)
Enable/disable displaying of message area.
|
void |
setMessageAreaFont(int64 fontNum)
Set the message-area's font.
|
void |
setMessageAreaFont(long fontNum)
Set the message-area's font.
|
void |
setMinButton(boolean value)
Sets the MIN-BUTTON attribute.
|
default void |
setMinButton(logical value)
Sets the MIN-BUTTON attribute.
|
void |
setMinHeightChars(NumberType min)
Sets the MIN-HEIGHT-CHARS writable attribute.
|
void |
setMinHeightPixels(integer min)
Sets the MIN-HEIGHT-PIXELS writable attribute.
|
void |
setMinWidthChars(NumberType min)
Sets the MIN-WIDTH-CHARS writable attribute.
|
void |
setMinWidthPixels(integer min)
Sets the MIN-WIDTH-CHARS writable attribute.
|
void |
setResize(logical logical)
Enable/disable window resizing.
|
void |
setScrollBars(logical logical)
Enable/disable displaying of scrollbars.
|
void |
setShowInTaskbar(boolean value)
Sets the SHOW-IN-TASKBAR attribute.
|
default void |
setShowInTaskbar(logical value)
Sets the SHOW-IN-TASKBAR attribute.
|
void |
setSmallTitle(boolean value)
Sets the SMALL-TITLE attribute.
|
default void |
setSmallTitle(logical value)
Sets the SMALL-TITLE attribute.
|
void |
setStatusArea(logical logical)
Enable/disable displaying of status area.
|
void |
setStatusAreaFont(int64 fontNum)
Set the status-area's font.
|
void |
setStatusAreaFont(long fontNum)
Set the status-area's font.
|
void |
setWindowState(int64 state)
Sets the WINDOW-STATE attribute.
|
void |
setWindowState(long state)
Sets the WINDOW-STATE attribute.
|
static final int WINDOW_STATE_MAXIMIZED
static final int WINDOW_STATE_MINIMIZED
static final int WINDOW_STATE_NORMAL
static final int WINDOW_STATE_DELAYED_MINIMIZE
character getIcon()
loadIcon(character)
.handle getMenubar()
void setMenubar(handle menubar)
menubar
- The menu handle.void setMenubar(MenuWidget menubar)
menubar
- The menu widget.decimal getFullHeightChars()
integer getFullHeightPixels()
decimal getFullWidthChars()
integer getFullWidthPixels()
decimal getMaxHeight()
decimal getMaxHeightChars()
integer getMaxHeightPixels()
decimal getMaxWidth()
decimal getMaxWidthChars()
integer getMaxWidthPixels()
decimal getMinHeightChars()
integer getMinHeightPixels()
decimal getMinWidthChars()
integer getMinWidthPixels()
logical isKeepFrameZOrder()
logical isKeepZOrder()
true
if window has KEEP-Z-ORDER option set.logical isMessageArea()
true
if window has message area.logical isResize()
true
if window size can be changed.logical isScrollBars()
true
if window has scrollbars.logical isStatusArea()
true
if window has message area.logical loadIcon(character searchPath)
searchPath
- Icon file name.true
if operation was successful.logical loadIcon(java.lang.String searchPath)
searchPath
- Icon file name.true
if operation was successful.logical loadSmallIcon(character searchPath)
searchPath
- Icon file name.true
if operation was successful.logical loadSmallIcon(java.lang.String searchPath)
searchPath
- Icon file name.true
if operation was successful.void setKeepFrameZOrder(boolean keep)
keep
- The new value for the KEEP-FRAME-Z-ORDER attribute.void setKeepFrameZOrder(logical keep)
keep
- The new value for the KEEP-FRAME-Z-ORDER attribute.void setKeepZOrder(logical logical)
logical
- New flag value.void setMaxHeight(NumberType decimal)
decimal
- New option value.void setMaxHeightChars(NumberType max)
max
- The new value for the MAX-HEIGHT-CHARS attribute.void setMaxHeightPixels(integer max)
max
- The new value for the MAX-HEIGHT-PIXELS attribute.void setMaxWidth(NumberType decimal)
decimal
- New option value.void setMaxWidthChars(NumberType max)
max
- The new value for the MAX-WIDTH-CHARS attribute.void setMaxWidthPixels(integer max)
max
- The new value for the MAX-WIDTH-CHARS attribute.void setMinHeightChars(NumberType min)
min
- The new value for the MIN-HEIGHT-CHARS attribute.void setMinHeightPixels(integer min)
min
- The new value for the MIN-HEIGHT-PIXELS attribute.void setMinWidthChars(NumberType min)
min
- The new value for the MIN-WIDTH-CHARS attribute.void setMinWidthPixels(integer min)
min
- The new value for the MIN-WIDTH-CHARS attribute.void setMessageArea(logical logical)
logical
- New flag value.void setResize(logical logical)
logical
- New option value.void setScrollBars(logical logical)
logical
- New option value.void setStatusArea(logical logical)
logical
- New option value.int64 getMessageAreaFont()
void setMessageAreaFont(long fontNum)
fontNum
- The font number, an entry in the font-table.void setMessageAreaFont(int64 fontNum)
fontNum
- The font number, an entry in the font-table.int64 getStatusAreaFont()
void setStatusAreaFont(long fontNum)
fontNum
- The font number, an entry in the font-table.void setStatusAreaFont(int64 fontNum)
fontNum
- The font number, an entry in the font-table.decimal getScreenLines()
int64 getWindowState()
WINDOW_STATE_*
constants).void setWindowState(long state)
state
- Value of WINDOW-STATE attribute to set (see WINDOW_STATE_*
constants).void setWindowState(int64 state)
state
- Value of WINDOW-STATE attribute to set (see WINDOW_STATE_*
constants).default void setMinButton(logical value)
value
- The new attribute value.void setMinButton(boolean value)
value
- The new attribute value.logical isMinButton()
default void setMaxButton(logical value)
value
- The new attribute value.void setMaxButton(boolean value)
value
- The new attribute value.logical isMaxButton()
default void setShowInTaskbar(logical value)
value
- The new attribute value.void setShowInTaskbar(boolean value)
value
- The new attribute value.logical isShowInTaskbar()
void setAlwaysOnTop(boolean value)
value
- true
if the option/attribute is set to ON.default void setAlwaysOnTop(logical value)
value
- true
if the attribute is set to ON.logical isAlwaysOnTop()
void setControlBox(boolean value)
value
- true
if the option/attribute is set to ON.default void setControlBox(logical value)
value
- true
if the attribute is set to ON.logical isControlBox()
void setSmallTitle(boolean value)
value
- true
if the option/attribute is set to ON.default void setSmallTitle(logical value)
value
- true
if the attribute is set to ON.logical isSmallTitle()