public class BrowseConfig extends BaseConfig
Modifier and Type | Field and Description |
---|---|
boolean |
allowColumnSearching
ALLOW-COLUMN-SEARCHING attribute variable.
|
boolean |
autoValidate
AUTO-VALIDATE option.
|
boolean |
box
BOX attribute.
|
boolean |
centered
CENTERED attribute.
|
int |
columnBgColor
COLUMN-BGCOLOR option
|
int |
columnFgColor
COLUMN-FGCOLOR option
|
int[] |
columnIds
The IDs of the widgets corresponding with browse's columns.
|
boolean |
columnMovable
COLUMN-MOVABLE attribute.
|
boolean |
columnResizable
COLUMN-RESIZABLE attribute.
|
boolean |
columnScrolling
COLUMN-SCROLLING attribute variable.
|
boolean |
conditionalReposition
true if reposition mode is "CONDITIONAL", false if reposition mode
is "ALWAYS" (see SET-REPOSITIONED-ROW). |
boolean |
createOnAdd
CREATE-ON-ADD attribute.
|
static int |
DATA_GUESS_DEFAULT_VALUE
Default value for MAX-DATA-GUESS attribute.
|
int |
down
DOWN attribute variable
|
boolean |
dropTarget
DROP-TARGET attribute.
|
boolean |
editPossible
Determine if in-browse editing is possible.
|
ColorRgb |
ehBgColor
Enhanced parameter: background color.
|
ColorRgb |
ehFgColor
Enhanced parameter: foreground color.
|
FontDetails |
ehFont
Enhanced parameter: browse font.
|
java.lang.String |
ehKeyBrowseName
Part of the enhanced configuration key: the name of the browse.
|
java.lang.String |
ehKeyProcName
Part of the enhanced configuration key: the name of the parent external procedure which
contains the browse.
|
ColorRgb |
ehLabelBgColor
Enhanced parameter: labels background color.
|
ColorRgb |
ehLabelFgColor
Enhanced parameter: labels foreground color.
|
FontDetails |
ehLabelFont
Enhanced parameter: labels font.
|
ColorRgb |
ehSeparatorsColor
Enhanced parameter: separators color.
|
boolean |
enhancedBrowse
true if "enhanced browse" feature is enabled for this browse. |
boolean |
fitLastColumn
FIT-LAST-COLUMN attribute.
|
java.lang.String |
help
HELP attribute variable.
|
int |
labelBgColor
LABEL-BGCOLOR option
|
int |
labelFgColor
LABEL-FGCOLOR option
|
int |
labelFont
LABEL-FONT option
|
boolean |
labels
LABELS attribute variable.
|
int |
labelsHeightPixels
Height of the labels area (in pixels) excluding borders.
|
int |
maxDataGuess
MAX-DATA-GUESS attribute variable.
|
boolean |
maxDataReached
If the end of the result set has been reached.
|
java.lang.Double |
minHeightChars
Minimum height of the browse, in character units.
|
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
boolean |
multiple
Support multiple selection.
|
boolean |
noAssign
NO-ASSIGN attribute.
|
boolean |
noEmptySpace
NO-EMPTY-SPACE attribute.
|
boolean |
noUnderline
NO-UNDERLINE attribute.
|
boolean |
noValidate
NO-VALIDATE option.
|
int |
numIterations
NUM-ITERATIONS attribute variable.
|
int |
numLockedColumns
NUM-LOCKED-COLUMNS attribute variable.
|
int |
numVisibleColumns
NUM-VISIBLE-COLUMNS attribute variable.
|
boolean |
overlay
OVERLAY attribute.
|
boolean |
performLayout
Client-side only flag indicating that layout needs to be performed or not.
|
boolean |
queryAssigned
true if a query was assigned to the browse. |
boolean |
readOnly
READ-ONLY attribute variable.
|
boolean |
refreshable
REFRESHABLE attribute variable.
|
int |
repositionedRow
0-based repositioned row (see SET-REPOSITIONED-ROW).
|
double |
rowHeightChars
ROW-HEIGHT-CHARS attribute variable.
|
int |
rowHeightPixels
ROW-HEIGHT-PIXELS attribute variable.
|
java.lang.Boolean |
rowMarkers
ROW-MARKERS attribute variable.
|
boolean |
rowResizable
ROW-RESIZABLE attribute.
|
boolean |
scrollable
SCROLLABLE attribute.
|
boolean |
scrollbarVertical
SCROLLBAR-VERTICAL attribute variable.
|
int |
separatorFgColor
SEPARATOR-FGCOLOR option
|
boolean |
separators
SEPARATORS attribute variable.
|
align, bgcolor, bgcolorRgb, clientColumn, clientHeightChars, clientHeightPixels, clientRow, clientWidthChars, clientWidthPixels, clientX, clientY, column, dcolor, dynamic, fgcolor, fgcolorRgb, fixedHeight, fixedWidth, font, fontChanged, frameColumnOffset, frameRowOffset, frameXOffset, frameYOffset, heightChars, heightPixels, initColumn, initRow, initX, initY, INV_COORD, locationChanged, movable, name, parentId, pfcolor, resizable, row, selected, sysbgcolor, sysfgcolor, 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 |
---|---|
|
BrowseConfig()
Default constructor (only used in de-serialization).
|
protected |
BrowseConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
BrowseConfig(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, setDynamicFormat, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, toString
public static final int DATA_GUESS_DEFAULT_VALUE
public int numIterations
public boolean separators
public boolean allowColumnSearching
ISSUE: not implemented.
public boolean columnScrolling
ISSUE: non-default behavior is not implemented.
public int down
public boolean labels
public int maxDataGuess
public boolean maxDataReached
public int numLockedColumns
public int numVisibleColumns
public boolean readOnly
public boolean refreshable
public double rowHeightChars
public int rowHeightPixels
public java.lang.Boolean rowMarkers
null
for default value (depends on GUI/ChUI,
static/dynamic, editable/read-only).public boolean scrollbarVertical
public java.lang.String help
public boolean multiple
public boolean queryAssigned
true
if a query was assigned to the browse.public boolean box
public boolean overlay
public boolean centered
public boolean noAssign
public boolean fitLastColumn
public boolean noEmptySpace
public boolean noUnderline
public boolean scrollable
public boolean columnResizable
public boolean columnMovable
public boolean createOnAdd
public boolean editPossible
public int repositionedRow
public boolean noValidate
public boolean autoValidate
public boolean conditionalReposition
true
if reposition mode is "CONDITIONAL", false
if reposition mode
is "ALWAYS" (see SET-REPOSITIONED-ROW).public int[] columnIds
public transient boolean performLayout
public int separatorFgColor
public int columnFgColor
public int columnBgColor
public int labelFgColor
public int labelBgColor
public int labelFont
public java.lang.String mousePointer
public java.lang.Double minHeightChars
public boolean dropTarget
public boolean rowResizable
public boolean enhancedBrowse
true
if "enhanced browse" feature is enabled for this browse.public ColorRgb ehFgColor
public ColorRgb ehBgColor
public ColorRgb ehLabelFgColor
public ColorRgb ehLabelBgColor
public ColorRgb ehSeparatorsColor
public FontDetails ehFont
public FontDetails ehLabelFont
public java.lang.String ehKeyProcName
public java.lang.String ehKeyBrowseName
public int labelsHeightPixels
public BrowseConfig()
protected BrowseConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected BrowseConfig(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.