public class BrowseColumnConfig extends WidgetConfig
Modifier and Type | Field and Description |
---|---|
boolean |
autoResize
AUTO-RESIZE attribute variable
|
boolean |
autoReturn
AUTO-RETURN attribute variable
|
boolean |
autoValidate
AUTO-VALIDATE attribute variable
|
boolean |
autoZap
AUTO-ZAP attribute.
|
java.lang.Integer |
bgColor
BGCOLOR attribute.
|
int |
browseId
Link to browse widget.
|
java.lang.String |
clabel
COLUMN-LABEL attribute variable
|
double |
column
COLUMN attribute variable
|
int |
columnBgColor
COLUMN-BGCOLOR attribute variable
|
Color |
columnDColor
COLUMN-DCOLOR attribute variable
|
int |
columnFgColor
COLUMN-FGCOLOR attribute variable
|
int |
columnFont
The column font for this browse column.
|
Color |
columnPfColor
COLUMN-PFCOLOR attribute variable
|
boolean |
columnReadOnly
COLUMN-READ-ONLY attribute variable.
|
java.lang.String |
dataType
DATA-TYPE attribute variable
|
java.lang.String |
dbname
DBNAME attribute variable
|
boolean |
disableAutoZap
DISABLE-AUTO-ZAP attribute.
|
java.lang.Integer |
fgColor
FGCOLOR attribute.
|
boolean |
forceLabel
Force label.
|
java.lang.String |
format
Column display format.
|
int |
formatWidth
Format width of base AT field.
|
java.lang.String |
help
HELP attribute variable
|
int |
innerLines
The number of text lines in the widget.
|
java.lang.String |
label
LABEL attribute variable
|
int |
labelBgColor
LABEL-BGCOLOR attribute.
|
Color |
labelDColor
LABEL-DCOLOR attribute variable
|
int |
labelFgColor
LABEL-FGCOLOR attribute.
|
int |
labelFont
The label font for this browse column.
|
boolean |
labels
Propagated LABELS attribute
|
int |
maxChars
MAX-CHARS attribute.
|
java.lang.String |
mousePointer
MOUSE-POINTER attribute
|
int |
ordinal
Column ordinal in the browse definition
|
boolean |
pressed
true if the column is in pressed state. |
boolean |
readOnly
READ-ONLY attribute variable
|
boolean |
resizable
RESIZABLE attribute
|
boolean |
rightAligned
Defines if the column is right aligned.
|
double |
row
ROW attribute variable
|
boolean |
sort
SORT attribute.
|
java.lang.Boolean |
sortAscending
SORT-ASCENDING attribute
|
java.lang.Integer |
sortNumber
SORT-NUMBER attribute
|
BrowseColumnWidgetType |
widgetType
Type of widget: fill-in, toggle-box or combo-box.
|
double |
widthChars
WIDTH-CHARS attribute variable
|
int |
widthPixels
WIDTH-PIXELS attribute variable
|
contextHelpId, enabled, frameDefValue, frameId, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized
Modifier | Constructor and Description |
---|---|
|
BrowseColumnConfig()
Default constructor (only used in deserialization).
|
protected |
BrowseColumnConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
BrowseColumnConfig(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.
|
protected void |
init()
Initialize this config.
|
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 java.lang.String dbname
public Color labelDColor
public boolean autoValidate
public double row
public double column
public Color columnDColor
public Color columnPfColor
public int columnBgColor
public int columnFgColor
public double widthChars
public int widthPixels
public boolean readOnly
public boolean columnReadOnly
public boolean autoZap
public boolean disableAutoZap
public boolean autoResize
public boolean autoReturn
public java.lang.String dataType
public java.lang.String help
public java.lang.String label
public java.lang.String clabel
public java.lang.String format
public int browseId
public int ordinal
public boolean labels
public boolean forceLabel
public int formatWidth
public int labelFont
public int columnFont
public int labelBgColor
public int labelFgColor
public boolean sort
public int maxChars
public int innerLines
public java.lang.String mousePointer
public boolean resizable
public boolean pressed
true
if the column is in pressed state.public java.lang.Integer sortNumber
public java.lang.Boolean sortAscending
public java.lang.Integer bgColor
public java.lang.Integer fgColor
public boolean rightAligned
public BrowseColumnWidgetType widgetType
public BrowseColumnConfig()
protected BrowseColumnConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected BrowseColumnConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class WidgetConfig
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 WidgetConfig
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 WidgetConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.protected void init()