public class ProgressBarConfig extends WidgetConfigExt
Modifier and Type | Field and Description |
---|---|
int |
appearance
The Progress Bar PB-APPEARANCE attribute.
|
int |
borderStyle
The Progress Bar PB-BORDER-STYLE attribute.
|
double |
max
The Progress Bar PB-MAX attribute.
|
double |
min
The Progress Bar PB-MIN attribute.
|
int |
orientation
The Progress Bar PB-ORIENTATION attribute.
|
int |
scrolling
The Progress Bar PB-SCROLLING attribute.
|
double |
value
The Progress Bar PB-VALUE attribute.
|
CC_ARROW, CC_ARROW_HOURGLASS, CC_ARROW_QUESTION, CC_CROSS, CC_CUSTOM, CC_DEFAULT, CC_HOURGLASS, CC_IBEAM, CC_ICON, CC_NO_DROP, CC_SIZE, CC_SIZE_ALL, CC_SIZE_EW, CC_SIZE_NESW, CC_SIZE_NS, CC_SIZE_NWSE, CC_UP_ARROW, mouseIcon, mousePointer
oleAllowedEffects, oleDataFormat, oleDefaultCursors, oleDragMode, oleDropMode, oleEffect, oleState, oleX, oleY
mouseButton, mouseShift, mouseX, mouseY
attrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId, untranslatedLabel
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 |
---|---|
|
ProgressBarConfig()
Default constructor (only used in de-serialization).
|
protected |
ProgressBarConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
ProgressBarConfig(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.
|
setDynamicFormat
getConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toString
public int appearance
public int borderStyle
public int orientation
public double max
public double min
public double value
public int scrolling
public ProgressBarConfig()
protected ProgressBarConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected ProgressBarConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public void applyConfig(WidgetConfig config)
applyConfig
in class WidgetConfigExt
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 WidgetConfigExt
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 WidgetConfigExt
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.