public abstract class PaneConfig extends BaseConfig
Modifier and Type | Field and Description |
---|---|
boolean |
assignedVisible
This is the server-logic assigned visible state.
|
private static int |
ATTR_MASK_3D
Bitwise mask to mark THREE D atribute usage.
|
private static int |
ATTR_MASK_BOX_SELECTABLE
Bitwise mask to mark BOX SELECTABLE atribute usage.
|
private static int |
ATTR_MASK_DROP_TARGET
Bitwise mask to mark DROP TARGET atribute usage.
|
private static int |
ATTR_MASK_GRID_SNAP
Bitwise mask to mark GRID SNAP atribute usage.
|
private static int |
ATTR_MASK_GRID_VISIBLE
Bitwise mask to mark GRID VISIBLE atribute usage.
|
private static int |
ATTR_MASK_RESIZE
Bitwise mask to mark RESIZE atribute usage.
|
boolean |
boxSelectable
Flag indicating box selection mode for direct manipulation.
|
boolean |
dropTarget
DROP-TARGET attribute.
|
private static int |
GRID_FACTOR_DEFAULT
Default values for grid factors.
|
static int |
GRID_UNIT_SIZE_PIXELS_DEFAULT
Default values for grid unit size in pixels.
|
int |
gridFactorHorizontal
Spacing in horizontal grid units(minor grid unit) between horizontal grid lines(major grid
unit).
|
int |
gridFactorVertical
Spacing in vertical grid units(minor grid unit) between vertical grid lines(major grid
unit).
|
boolean |
gridSnap
Flag to indicate if the widgets should snap to the grid while move or resize.
|
int |
gridUnitHeightPixels
The height in pixel units of the vertical grid unit(minor grid unit).
|
int |
gridUnitWidthPixels
The width in pixel units of the horizonlal grid unit(minor grid unit).
|
boolean |
gridVisible
Flag to indicate whether the grid should be visible or not.
|
int |
hScrollPosition
Horizontal scroll position
|
int |
numSelectedWidgets
The number of the selected widgets in container.
|
boolean |
resize
The Progress RESIZE attribute.
|
boolean |
threeD
THREE-D options
|
double |
virtualHeightChars
VIRTUAL-HEIGHT-CHARS option,
to get the effective value see @link
ConfigHelper . |
int |
virtualHeightPixels
VIRTUAL-HEIGHT-PXIELS option,
to get the effective value see @link
ConfigHelper . |
double |
virtualWidthChars
VIRTUAL-WIDTH-CHARS option,
to get the effective value see @link
ConfigHelper . |
int |
virtualWidthPixels
VIRTUAL-WIDTH-PIXELS option,
to get the effective value see @link
ConfigHelper . |
int |
vScrollPosition
Vertical scroll position
|
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 |
---|---|
|
PaneConfig()
Default constructor (only used in deserialization).
|
protected |
PaneConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
PaneConfig(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
private static int GRID_FACTOR_DEFAULT
public static int GRID_UNIT_SIZE_PIXELS_DEFAULT
public boolean threeD
public double virtualWidthChars
ConfigHelper
.public double virtualHeightChars
ConfigHelper
.public int virtualWidthPixels
ConfigHelper
.public int virtualHeightPixels
ConfigHelper
.public boolean assignedVisible
It is needed in cases where the widget is effectively invisible, but the requested state is visible. An example is a DIALOG-BOX - when its parent window is made invisible the box must be made unconditionally invisible as well, when the parent window is made visible again the box is made visible only when the last assigned value in VISIBLE was TRUE (or ENABLE called, etc.).
public boolean boxSelectable
public int numSelectedWidgets
public int gridFactorHorizontal
public int gridFactorVertical
public boolean gridSnap
public int gridUnitHeightPixels
public int gridUnitWidthPixels
public boolean gridVisible
public boolean dropTarget
public int hScrollPosition
public int vScrollPosition
public boolean resize
private static final int ATTR_MASK_3D
private static final int ATTR_MASK_BOX_SELECTABLE
private static final int ATTR_MASK_GRID_SNAP
private static final int ATTR_MASK_GRID_VISIBLE
private static final int ATTR_MASK_DROP_TARGET
private static final int ATTR_MASK_RESIZE
public PaneConfig()
protected PaneConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected PaneConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class BaseConfig
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 BaseConfig
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 BaseConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.