public class TabSetConfig extends ControlConfig
Modifier and Type | Class and Description |
---|---|
static class |
TabSetConfig.TabItem
Tab item entry.
|
Modifier and Type | Field and Description |
---|---|
private static int |
ATTR_MASK_MULTI_LINE
Bitwise mask to mark MULTI LINE atribute usage.
|
int |
currentTabIndex
Index of the currently active tab value.
|
boolean |
multiLine
Flag which allow drawing of tabs in multiple lines
|
int |
ocxId
OCX identification
|
static int |
TAB_BAR_WIDGET
TabBar OCX id
|
static int |
TAB_PAGE_WIDGET
TabPage OCX id
|
java.util.List<TabSetConfig.TabItem> |
tabSetItems
The array of the tabset item values.
|
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 |
---|---|
|
TabSetConfig()
Default constructor (only used in deserialization).
|
protected |
TabSetConfig(int id)
Create a new config and associate it with the given widget.
|
protected |
TabSetConfig(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.
|
TabSetConfig.TabItem |
findTabItem(int tabId)
Finds the tab item with the provided tab id.
|
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 static final int TAB_BAR_WIDGET
public static final int TAB_PAGE_WIDGET
public java.util.List<TabSetConfig.TabItem> tabSetItems
public int currentTabIndex
public boolean multiLine
public int ocxId
private static final int ATTR_MASK_MULTI_LINE
public TabSetConfig()
protected TabSetConfig(int id)
id
- The ID of the widget to which this configuration belongs.protected TabSetConfig(WidgetId id)
id
- The ID of the widget to which this configuration belongs.public TabSetConfig.TabItem findTabItem(int tabId)
null
.tabId
- Tab id.public void applyConfig(WidgetConfig config)
applyConfig
in class ControlConfig
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 ControlConfig
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 ControlConfig
out
- The output destination to which fields will be saved.java.io.IOException
- In case of I/O errors.