public class WindowConfig extends PaneConfig
Modifier and Type | Field and Description |
---|---|
boolean |
alwaysOnTop
Value of ALWAYS-ON-TOP attribute.
|
static java.lang.String |
APP_ICON_SECTION
Default application icon directory section.
|
boolean |
controlBox
Value of CONTROL-BOX attribute.
|
static java.lang.String |
DEFAULT_ICON
Default application icon.
|
boolean |
delayedMinimize
Set when window should exhibit the delayed minimize behavior
|
boolean |
disableRedraw
DISABLE-REDRAW attribute, this attribute is a FWD extension, not real 4GL!
|
java.lang.String |
envName
Environment name
|
double |
fullHeightChars
The Progress FULL-HEIGHT-CHARS attribute.
|
int |
fullHeightPixels
The Progress FULL-HEIGHT-PIXELS attribute.
|
double |
fullWidthChars
The Progress FULL-WIDTH-CHARS attribute.
|
int |
fullWidthPixels
The Progress FULL-WIDTH-PIXELS attribute.
|
boolean |
heightAssigned
The flag indicates whether window height has been assigned.
|
java.lang.String |
help
HELP attribute.
|
int |
hiddenByIconificationOf
The ID of the closer ancestor window that was iconified and triggered this window not to be
visible in taskbar.
|
static int |
ICON_SIZE
Normal window icon size.
|
java.lang.String |
iconFileName
The Progress ICON attribute used by LOAD-ICON().
|
boolean |
keepFrameZOrder
The Progress KEEP-FRAME-Z-ORDER attribute.
|
boolean |
maxButton
Changes the visibility of the window maximize button.
|
double |
maxHeightChars
MAX-HEIGHT-CHARS attribute, use
ConfigHelper to get the effective value. |
int |
maxHeightPixels
MAX-HEIGHT-PIXELS attribute, use
ConfigHelper to get the effective value. |
double |
maxWidthChars
MAX-WIDTH-CHARS attribute, use
ConfigHelper to get the effective value. |
int |
maxWidthPixels
MAX-WIDTH-PIXELS attribute, use
ConfigHelper to get the effective value. |
int |
menubarId
ID of menubar
|
boolean |
messageArea
The Progress MESAGE-AREA attribute.
|
int |
messageAreaFont
The font for the window's message area.
|
boolean |
minButton
Changes the visibility of the window minimize button.
|
double |
minHeightChars
MIN-HEIGHT-CHARS attribute, use
ConfigHelper to get the effective value. |
int |
minHeightPixels
MIN-HEIGHT-PIXELS attribute, use
ConfigHelper to get the effective value. |
double |
minWidthChars
MIN-WIDTH-CHARS attribute, use
ConfigHelper to get the effective value. |
int |
minWidthPixels
MIN-WIDTH-PIXELS attribute, use
ConfigHelper to get the effective value. |
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
int |
numSelectedWidget
The Progress NUM-SELECTED-WIDGET attribute.
|
boolean |
resize
The Progress RESIZE attribute.
|
static int |
RESOLVE_WINDOW
Window id which used in calls of client and means, that target window in the client-side
must be resolved automatically.
|
double |
screenLines
The Progress SCREEN-LINES attribute.
|
boolean |
scrollBars
The Progress SCROLL-BARS attribute.
|
boolean |
showInTaskbar
Value of the SHOW-IN-TASKBAR attribute
|
static int |
SMALL_ICON_SIZE
Small sized window icon size.
|
boolean |
smallTitle
Value of SMALL-TITLE attribute.
|
boolean |
statusArea
The Progress STATUS-AREA attribute.
|
int |
statusAreaFont
The font for the window's status area.
|
boolean |
topOnly
Whether this container is over all other non-top only containers.
|
int |
unrealizedMaxHeightPixels
The value of MAX-HEIGHT-PIXELS assigned to unrealized WINDOW widget.
|
boolean |
useSmallIcon
Flag indicating the icon was loaded by LOAD-SMALL-ICON().
|
boolean |
waTruncCondition
Work area truncation condition maintained by the client.
|
byte |
windowState
WINDOW-STATE attribute; to get the effective value use
ConfigHelper#getWindowState |
assignedVisible, boxSelectable, dropTarget, GRID_UNIT_SIZE_PIXELS_DEFAULT, gridFactorHorizontal, gridFactorVertical, gridSnap, gridUnitHeightPixels, gridUnitWidthPixels, gridVisible, numSelectedWidgets, threeD, virtualHeightChars, virtualHeightPixels, virtualWidthChars, virtualWidthPixels
align, bgcolor, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fixedHeight, fixedWidth, font, fontChanged, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initRow, initX, initY, INV_COORD, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, tabStop, title, titleDColor, titleFont, tooltip, widgetPlaced, widthChars, widthPixels, x, y
contextHelpId, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized
Modifier | Constructor and Description |
---|---|
|
WindowConfig()
Default constructor (only used in deserialization).
|
protected |
WindowConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
WindowConfig(WidgetId id)
Create a new config and associate it with the given widget.
|
Modifier and Type | Method and Description |
---|---|
void |
applyConfig(WidgetConfig config)
Set new values from the provided configuration instance.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, toString
public static final int RESOLVE_WINDOW
public static final int ICON_SIZE
public static final int SMALL_ICON_SIZE
public static final java.lang.String APP_ICON_SECTION
public static final java.lang.String DEFAULT_ICON
public double fullHeightChars
public int fullHeightPixels
public double screenLines
public boolean keepFrameZOrder
public int numSelectedWidget
public double fullWidthChars
public int fullWidthPixels
public double maxHeightChars
ConfigHelper
to get the effective value.public double maxWidthChars
ConfigHelper
to get the effective value.public int maxHeightPixels
ConfigHelper
to get the effective value.public int maxWidthPixels
ConfigHelper
to get the effective value.public double minHeightChars
ConfigHelper
to get the effective value.public double minWidthChars
ConfigHelper
to get the effective value.public int minHeightPixels
ConfigHelper
to get the effective value.public int minWidthPixels
ConfigHelper
to get the effective value.public int unrealizedMaxHeightPixels
public boolean waTruncCondition
public boolean heightAssigned
public java.lang.String help
public boolean resize
public boolean scrollBars
public boolean statusArea
public boolean messageArea
public java.lang.String iconFileName
public boolean useSmallIcon
public int messageAreaFont
public int statusAreaFont
public java.lang.String envName
public int menubarId
public boolean topOnly
public boolean alwaysOnTop
public java.lang.String mousePointer
public transient int hiddenByIconificationOf
public byte windowState
ConfigHelper#getWindowState
public boolean delayedMinimize
public boolean minButton
public boolean maxButton
public boolean showInTaskbar
public boolean controlBox
public boolean smallTitle
public boolean disableRedraw
public WindowConfig()
protected WindowConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected WindowConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class PaneConfig
config
- The instance from which to take values.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
readExternal
in class PaneConfig
in
- The input source from which fields will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If payload can't be instantiated.public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
writeExternal
in class PaneConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.