public class TreeListConfig extends TreeConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeListConfig.Column
Column configuration.
|
TreeConfig.StockImage| Modifier and Type | Field and Description |
|---|---|
java.util.List<java.lang.Integer> |
cellImageList
List of global image ids for all cell images, indices to this
array are returned by the CreateCellIcon OCX call
|
java.util.List<TreeListConfig.Column> |
columns
List of column configurations, index 0 is the column showing the tree portion of the widget
|
java.lang.String |
dateSeparator
Date separator.
|
java.lang.String |
decimalSeparator
Decimal separator.
|
boolean |
extMultiSelect
Flag to allow multi select which are not siblings.
|
short |
fixedColumn
Index of the fixed column, the column and all the preceding columns will be fixed.
|
boolean |
multiSelect
Flag to toggle multi select of nodes.
|
java.util.List<java.lang.Integer> |
selectedNodesIds
List of ids for the selected nodes.
|
java.lang.String |
shortDateFormat
Short date format.
|
boolean |
showHeader
Flag that directs the header visibility
|
java.lang.String |
thousandSeparator
Thousand separator.
|
int |
triggerColumn
The target column of the current trigger.
|
assignFlags, checkBoxes, dragDrop, draggedNode, draggedOverNode, dropHighlightNodeId, ensureVisibleNodeId, expandOnDoubleClick, expandOnEnter, expandOnSingleClick, focusedNodeId, imageListId, indentation, newLabel, nodeHeight, nodeImageList, nodes, removeNodeOnCollapse, scrollNodeCount, selectedNodeBackgroundColor, selectedNodeForegroundColor, showExpandIcon, sorted, textEdit, topNode, triggerNodeCC_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, mousePointeroleAllowedEffects, oleDataFormat, oleDefaultCursors, oleDragMode, oleDropMode, oleEffect, oleState, oleX, oleYmouseButton, mouseShift, mouseX, mouseYattrSpace, autoResize, clabel, dataType, dropTarget, forceLabel, help, index, INVALID_SELECTION, label, labels, possibleSideLabel, selectionActive, selectionEnd, selectionStart, sideLabelId, unknownDataType, untranslatedLabelalign, 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, ycfgClass, contextHelpId, disableRedraw, enabled, frameDefValue, frameId, fromOCX, header, hidden, id, manualHightlight, menuKey, menuMouse, modified, popupMenuId, realized, selectable, state, visible, wasRealized, zorder| Constructor and Description |
|---|
TreeListConfig()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyConfig(WidgetConfig config)
Set new values from the provided configuration instance.
|
void |
applyConfigNoColumns(WidgetConfig config)
Set new values from the provided configuration instance.
|
protected java.util.function.Supplier<TreeNodeEntry> |
createNodeEntry()
Create node entry instance.
|
TreeListConfig.Column |
getColumn(NumberType index)
Get column at the given index.
|
boolean |
isLastVisible(TreeListConfig.Column column)
Test if a column is the rightmost visible column.
|
protected java.util.function.Supplier<TreeListConfig.Column> |
newColumn()
Column creation factory for using in de-serialization.
|
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.
|
getSelectedNodeBackgroundColor, getSelectedNodeForegroundColor, isSelectedNodeBackgroundAssigned, isSelectedNodeForegroundAssigned, setSelectedNodeBackgroundColor, setSelectedNodeForegroundColorsetDynamicFormatgetConfigManager, getDynamicColumnLabel, getDynamicFormat, getDynamicHelp, getDynamicLabel, getDynamicUntranslatedLabel, markFieldsDirty, setDynamicHeader, setDynamicHelp, setDynamicLabel, setDynamicLabels, setDynamicUntranslatedLabel, toStringpublic java.util.List<java.lang.Integer> cellImageList
public java.util.List<TreeListConfig.Column> columns
public java.lang.String dateSeparator
shortDateFormat was not set by the application. Must not be nullpublic java.lang.String decimalSeparator
NumberType.getDecimalSeparator()
will be used.public short fixedColumn
public java.lang.String shortDateFormat
public boolean showHeader
public java.lang.String thousandSeparator
public int triggerColumn
public boolean multiSelect
public boolean extMultiSelect
public java.util.List<java.lang.Integer> selectedNodesIds
public void applyConfig(WidgetConfig config)
applyConfig in class TreeConfigconfig - The instance from which to take values.public void applyConfigNoColumns(WidgetConfig config)
config - The instance from which to take values.public TreeListConfig.Column getColumn(NumberType index)
nul if the supplied index is not a valid column index, i.e. it is not in the range
[0, columns.size() -1].index - The index to check.public boolean isLastVisible(TreeListConfig.Column column)
column - the columnpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class TreeConfigin - 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.ExternalizablewriteExternal in class TreeConfigout - The output destination to which fields will be saved.java.io.IOException - In case of I/O errors.protected java.util.function.Supplier<TreeListConfig.Column> newColumn()
protected java.util.function.Supplier<TreeNodeEntry> createNodeEntry()
createNodeEntry in class TreeConfig