public class FrameConfig extends PaneConfig
Modifier and Type | Field and Description |
---|---|
private static int |
ATTR_MASK_ATTR_SPACE
Bitwise mask to mark ATTR SPACE atribute usage.
|
private static int |
ATTR_MASK_BOX
Bitwise mask to mark BOX atribute usage.
|
private static int |
ATTR_MASK_CAREFUL_PAINT
Bitwise mask to mark CAREFUL PAINT atribute usage.
|
private static int |
ATTR_MASK_CENTERED
Bitwise mask to mark CENTERED atribute usage.
|
private static int |
ATTR_MASK_DIALOG
Bitwise mask to mark DIALOG atribute usage.
|
private static int |
ATTR_MASK_FRAME_PLACED
Bitwise mask to mark FRAME PLACED atribute usage.
|
private static int |
ATTR_MASK_HIDDEN_SET
Bitwise mask to mark HIDDEN SET atribute usage.
|
private static int |
ATTR_MASK_KEEP_TAB_ORDER
Bitwise mask to mark KEEP TAB ORDER atribute usage.
|
private static int |
ATTR_MASK_LABELS
Bitwise mask to mark LABELS atribute usage.
|
private static int |
ATTR_MASK_MANUAL_HIGHLIGHT
Bitwise mask to mark MANUAL HIGHLIGHT atribute usage.
|
private static int |
ATTR_MASK_NO_AUTO_VALIDATE
Bitwise mask to mark NO AUTO VALIDATE atribute usage.
|
private static int |
ATTR_MASK_NO_HIDE
Bitwise mask to mark NO HIDE atribute usage.
|
private static int |
ATTR_MASK_NO_HIDE_CFG
Bitwise mask to mark NO HIDE CONFIG atribute usage.
|
private static int |
ATTR_MASK_NO_UNDERLINE
Bitwise mask to mark NO UNDERLINE attribute usage.
|
private static int |
ATTR_MASK_OVERLAY
Bitwise mask to mark OVERLAY atribute usage.
|
private static int |
ATTR_MASK_PAGE_BOTTOM
Bitwise mask to mark PAGE BOTTOM atribute usage.
|
private static int |
ATTR_MASK_PAGE_TOP
Bitwise mask to mark PAGE_TOP atribute usage.
|
private static int |
ATTR_MASK_POS_CHANGED
Bitwise mask to mark POSITION CHANGED atribute usage.
|
private static int |
ATTR_MASK_SCREEN_ID
Bitwise mask to mark SCREEN ID atribute usage.
|
private static int |
ATTR_MASK_SCROLLABLE
Bitwise mask to mark SCROLLABLE atribute usage.
|
private static int |
ATTR_MASK_SCROLLBAR_VERT
Bitwise mask to mark SCROLLBAR VERTICAL atribute usage.
|
private static int |
ATTR_MASK_SIDE_LABELS
Bitwise mask to mark SIDE LABELS atribute usage.
|
private static int |
ATTR_MASK_SIZE_CHANGED
Bitwise mask to mark SIZE CHANGED atribute usage.
|
private static int |
ATTR_MASK_TOP_ONLY
Bitwise mask to mark TOP ONLY atribute usage.
|
private static int |
ATTR_MASK_USE_TEXT
Bitwise mask to mark USE TEXT atribute usage.
|
private static int |
ATTR_MASK_V6_FRAME
Bitwise mask to mark V6 FRAME atribute usage.
|
private static int |
ATTR_MASK_WAS_VISIBLE
Bitwise mask to mark WAS VISIBLE atribute usage.
|
boolean |
attr_space
ATTR-SPACE attribute.
|
boolean |
box
The Progress BOX (R/O) attribute.
|
int |
cancelButtonId
The Progress cancel button ID.
|
boolean |
carefulPaint
The Progress CAREFUL-PAINT attribute.
|
boolean |
centered
Means whether the frame must be centered within the parent container.
|
int |
columns
The amount of the columns to present the widgets
|
int |
defaultButtonId
The Progress default button ID.
|
boolean |
dialog
Mark DialogBox.
|
int |
dialogX
For frame dialogs this holds the dialog window X location
|
int |
dialogY
For frame dialogs this holds the dialog window Y location
|
int |
down
The Progress DOWN attribute.
|
boolean |
framePlaced
Flag indicating if the frame was placed (location computed).
|
double |
headerHeightChars
Client-side only: saves the frame's top-label header height.
|
boolean |
hiddenSet
Flag indicating if the HIDDEN flag was set.
|
boolean |
keepTabOrder
KEEP-TAB-ORDER option.
|
boolean |
labels
The Progress LABELS attribute.
|
boolean |
manualHighlight
The Progress MANUAL-HIGHLIGHT attribute.
|
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
boolean |
noAutoValidate
NO-AUTO-VALIDATE option.
|
boolean |
noHide
NO-HIDE option - used to track the NO-HIDE status of a frame at runtime.
|
boolean |
noHideConfig
The NO-HIDE option as configured at frame definition - used to restore
the NO-HIDE status when the frame scope is opened again.
|
boolean |
noUnderline
NO-UNDERLINE option.
|
boolean |
overlay
The Progress OVERLAY attribute.
|
boolean |
pageBottom
The Progress PAGE-BOTTOM attribute.
|
boolean |
pageTop
The Progress PAGE-TOP attribute.
|
int |
retain
RETAIN n option, where 0 means paging frame
|
boolean |
screenIO
SCREEN-IO option.
|
int |
scroll
SCROLL n option, where 0 means paging frame
|
boolean |
scrollable
The container has scrolling ability.
|
byte |
scrollbarFlags
Flags that control scroll bar appearance, this value will override any of the legacy attribute
values.
|
boolean |
scrollbarVertical
SCROLLBAR-VERTICAL attribute variable.
|
boolean |
sideLabels
The Progress SIDE-LABELS attribute.
|
double |
titleHeight
The title height (in chars), for a titled frame or dialog.
|
int |
titleHeightPixels
The title height (in pixels), for a titled frame or dialog.
|
boolean |
titleUnknown
Flag indicating if the frame TITLE was set to unknown at runtime, not setup.
|
boolean |
topOnly
Whether this container is over all other non-top only containers.
|
boolean |
useText
USE-TEXT option.
|
boolean |
v6frame
V6FRAME option.
|
boolean |
wasVisible
Flag to save the previous frame visibility state (when changed by server-side).
|
int |
windowID
Id of window owning frame or -1 if frame is not owned by a window
|
assignedVisible, boxSelectable, dropTarget, GRID_UNIT_SIZE_PIXELS_DEFAULT, gridFactorHorizontal, gridFactorVertical, gridSnap, gridUnitHeightPixels, gridUnitWidthPixels, gridVisible, hScrollPosition, numSelectedWidgets, resize, threeD, virtualHeightChars, virtualHeightPixels, virtualWidthChars, virtualWidthPixels, vScrollPosition
align, bgcolor, bgcolorRgb, captionFontSize, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fgcolorRgb, fixedHeight, fixedWidth, font, fontChanged, fontName, fontSize, fontStyle, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initHeightChars, initRow, initWidthChars, initX, initY, INV_COORD, locationChanged, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, systemParentId, tabStop, title, titleDColor, titleFont, tooltip, widgetPlaced, widthChars, widthPixels, x, y
cfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder
Modifier | Constructor and Description |
---|---|
|
FrameConfig()
Default constructor (only used in deserialization).
|
protected |
FrameConfig(int id)
Create a new config and associate it with the given widget.
|
|
FrameConfig(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.
|
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toString
public int retain
public int scroll
public int down
public boolean dialog
public int dialogX
public int dialogY
public boolean carefulPaint
public boolean centered
public boolean labels
public boolean manualHighlight
public boolean overlay
public boolean pageBottom
public boolean pageTop
public boolean sideLabels
public boolean box
public boolean keepTabOrder
public boolean noHide
public boolean noHideConfig
public boolean noUnderline
public boolean noAutoValidate
public boolean attr_space
public int columns
public int cancelButtonId
public int defaultButtonId
public boolean topOnly
public boolean scrollable
public boolean scrollbarVertical
public boolean v6frame
public boolean screenIO
public boolean useText
public int windowID
public boolean wasVisible
public double titleHeight
public int titleHeightPixels
public transient double headerHeightChars
public transient boolean titleUnknown
public java.lang.String mousePointer
public boolean hiddenSet
public boolean framePlaced
private static final int ATTR_MASK_DIALOG
private static final int ATTR_MASK_CAREFUL_PAINT
private static final int ATTR_MASK_CENTERED
private static final int ATTR_MASK_LABELS
private static final int ATTR_MASK_MANUAL_HIGHLIGHT
private static final int ATTR_MASK_OVERLAY
private static final int ATTR_MASK_PAGE_BOTTOM
private static final int ATTR_MASK_PAGE_TOP
private static final int ATTR_MASK_SIDE_LABELS
private static final int ATTR_MASK_BOX
private static final int ATTR_MASK_KEEP_TAB_ORDER
private static final int ATTR_MASK_NO_HIDE
private static final int ATTR_MASK_NO_HIDE_CFG
private static final int ATTR_MASK_NO_UNDERLINE
private static final int ATTR_MASK_NO_AUTO_VALIDATE
private static final int ATTR_MASK_ATTR_SPACE
private static final int ATTR_MASK_POS_CHANGED
private static final int ATTR_MASK_SIZE_CHANGED
private static final int ATTR_MASK_TOP_ONLY
private static final int ATTR_MASK_SCROLLABLE
private static final int ATTR_MASK_SCROLLBAR_VERT
private static final int ATTR_MASK_V6_FRAME
private static final int ATTR_MASK_SCREEN_ID
private static final int ATTR_MASK_USE_TEXT
private static final int ATTR_MASK_WAS_VISIBLE
private static final int ATTR_MASK_HIDDEN_SET
private static final int ATTR_MASK_FRAME_PLACED
public byte scrollbarFlags
Bit index | Meaning when ON
--------------------------------------------------------------
0 | Use this field to drive the scroll bas behavior.
1 | Display horizontal toolbar.
2 | Display vertical toolbar.
public FrameConfig()
protected FrameConfig(int id)
id
- The ID of the widget to which this configuration belongs.public FrameConfig(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.