public abstract class PaneConfig extends BaseConfig
Modifier and Type | Field and Description |
---|---|
boolean |
assignedVisible
This is the server-logic assigned visible state.
|
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 |
numSelectedWidgets
The number of the selected widgets in container.
|
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 . |
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 |
---|---|
|
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.
|
getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, 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 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.