public class RegistryTreeModel extends TreeModelAdapter
TreeTableModel.ColumnTableModel.CellControl, TableModel.ControlProxy| Modifier and Type | Field and Description |
|---|---|
IRegistryKey |
root |
objectsCanExpand, closedFolder, closedFolderIcon, cutNodes, DepthMask, dontAdjustColumns, dynamicCanExpand, expandControlIcons, expandingIcon, expandingIconIcon, expandingNodes, expansionLevel, FlagMask, HasChildren, hasControls, HasMoreSiblings, hideRoot, IsExpanded, IsNode, matrix, multiSelectOneMustBeSelected, NODE_SCREEN_STATUS_DRAW_AFTER_TEXT_ONLY, NODE_SCREEN_STATUS_EXPANDING, NODE_SCREEN_STATUS_MOUSE_OVER, NODE_SCREEN_STATUS_SELECTED, noLines, openFolder, openFolderIcon, page, pageIcon, PatternMask, ranges, rootObject, selectedColor, selectedLine, selectedLines, selectExpanded, selectHighlightEntireLine, showWaitCursor, slowExpansionWaitTime, treeColumnHeader, treeWidthactiveCellControl, allColumnsSameSize, allRowsSameSize, canHScroll, canMoveColumnHeaders, canVScroll, cellInsets, charHeight, charWidth, clipData, colAdjustments, controlProxy, cursorSize, fillToEqualHeights, fillToEqualWidths, gap, hasColumnHeaders, hasPreferredSize, hasRowHeaders, hasSpanningColumns, hasSpanningRows, horizontalScrollUnit, keepSIP, mouseIsOverCell, numCols, numRows, preferredCols, preferredRows, selectRowWhenEditing, shadeAlternateRows, shadeColor, table, verticalScrollUnitBDR_DOTTED, BDR_INNER, BDR_NOBORDER, BDR_OUTER, BDR_OUTLINE, BDR_RAISEDINNER, BDR_RAISEDOUTER, BDR_SUNKENINNER, BDR_SUNKENOUTER, BF_ABUT_ANY, BF_ABUT_BOTTOM, BF_ABUT_LEFT, BF_ABUT_RIGHT, BF_ABUT_TOP, BF_BOTTOM, BF_BOTTOMLEFT, BF_BOTTOMRIGHT, BF_BUTTON, BF_DIAGONAL, BF_DIAGONAL_ENDBOTTOMLEFT, BF_DIAGONAL_ENDBOTTOMRIGHT, BF_DIAGONAL_ENDTOPLEFT, BF_DIAGONAL_ENDTOPRIGHT, BF_EXACT, BF_FLAT, BF_LEFT, BF_MIDDLE, BF_MONO, BF_PALM, BF_RECT, BF_RIGHT, BF_SOFT, BF_SQUARE, BF_TOP, BF_TOPLEFT, BF_TOPRIGHT, EDGE_BUMP, EDGE_ETCHED, EDGE_RAISED, EDGE_SUNKENALWAYS_STRETCHABLE, BOTTOM, CELLFLAG, CELLMASK, CENTER, CONTROLMASK, DONTCHANGE, DONTFILL, DONTSTRETCH, EAST, FILL, GROW, HCENTER, HCONTRACT, HEXPAND, HFILL, HGROW, HSHRINK, HSTRETCH, INITIALLY_CLOSED, INITIALLY_HIDDEN, INITIALLY_MINIMIZED, INITIALLY_PREFERRED_SIZE, INSETS, LEFT, MAXIMUMSIZE, MINIMUMSIZE, NORTH, NORTHEAST, NORTHWEST, PREFERREDSIZE, RECT, RIGHT, SHRINK, SOUTH, SOUTHEAST, SOUTHWEST, SPAN, STRETCH, TAG_BACKGROUND_IMAGE, TAG_BUSY_DISPLAY, TAG_COLORS, TAG_CONTROL_PAINTER, TAG_EXPOSE_GROUP, TAG_FIXEDSIZE, TAG_GRAY_BACKGROUND, TAG_HIDE_CONTROL_OBJECT, TAG_HIDE_PARENT, TAG_INNER_TEXT_INSETS, TAG_INPUT_STACK_PARENT, TAG_INSETS, TAG_MAKE_VISIBLE, TAG_MAXIMUMSIZE, TAG_MINIMUMSIZE, TAG_PAINT_CONTROL_LIST, TAG_PREFERRED_TEXT_SIZE, TAG_PREFERRED_TEXT_SIZE_HEIGHT, TAG_PREFERRED_TEXT_SIZE_WIDTH, TAG_PREFERREDSIZE, TAG_RECT, TAG_SHADOW_INSETS, TAG_SPAN, TAG_SWIPER, TAG_TEMPORARY_ERROR, TAG_TEXT_INSETS, TAG_TEXTSIZE, TEXTSIZE, TOP, VCENTER, VCONTRACT, VEXPAND, VFILL, VGROW, VSHRINK, VSTRETCH, WESTAll, AlwaysEnabled, AlwaysRecalculateSizes, ByDeferredMouse, ByDeferredPen, ByFrameChange, ByKeyboard, ByMouse, ByPen, ByRequest, CalculatedSizes, ContainerDontPaintChildren, Disabled, DisablePopupMenu, DisplayOnly, DontBuffer, Down, DrawFlat, Flag, ForceResize, HasData, Invisible, KeepImage, KeepSIP, Left, MakeMenuAtLeastAsWide, Maximize, Minimize, ModifiersInheritedFromWindow, MouseSensitive, NoFocus, NotAnEditor, NotEditable, PaintDataOnly, PaintOutsideOnly, PenTransparent, PreferredSizeOnly, Right, SendUpUIEvents, ShowSIP, ShrinkToNothing, SmallControl, TakeChildUIEvents, TakeControlEvents, TakesKeyFocus, Transparent, Up, WantDrag, WantHoldDown| Constructor and Description |
|---|
RegistryTreeModel(IRegistryKey root) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createObjectFor(Object parent,
int child)
Use this to create a new node object for a node which is about to be
expanded.
|
protected int |
getChildCount(Object parent)
If you do not override getChildIndexes() you must implement this.
|
protected long[] |
getChildIndexes(Object parent)
This is used to get an array of indexes for each of the children of the parent
Object.
|
protected String |
getDisplayString(Object parentNode,
int childIndex)
Override this to get the display string for the child of the parent.
|
protected byte |
getFlags(Object parentNode,
int childIndex,
byte savedFlags)
This is only called if "dynamicCanExpand" is set true.
|
protected IImage |
getIcon(Object parentNode,
int childIndex)
Override this to get the icon for the child of the parent.
|
IRegistryKey |
getKeyAt(int whichLine) |
long[] |
getKeyIndexes(Object parent) |
adjustFlags, doExpand, getDataObjectAt, getDisplayString, getFlags, getIcon, getIndexFor, getObjectAtAddress, getParentObject, getRoot, newNodeObjectaddExtraColumn, addressOf, addressOf, calculateColWidth, calculateExtraColWidth, calculateRowHeight, calculateSizes, canDoCollapse, canDoExpand, canScreenScroll, clicked, collapse, collapseMatrix, collapsing, columnOf, countChildren, countSelectedLines, countTotalChildNodes, delete, deleted, doCollapse, doExpand, doubleClicked, doubleClicked, drawNodeData, drawNodeLine, expand, expanding, expandMatrix, expandSlowNode, expandTo, expandTo, expandToLevel, findChild, findNextSibling, findParent, findParentOrPreviousSibling, findPreviousSibling, fireSelection, flagsAt, freeReusedIcon, fullExpandCollapse, getColumnCount, getColumns, getDataToDragAndDrop, getDataToTransfer, getDataWidth, getDepthOf, getDisplayStatus, getDrawOptions, getExtraColumnHeader, getFontColor, getHeightOfObject, getMenuFor, getNodeBackgroundColor, getNodeToCollapse, getNodeToExpand, getReusedIcon, getRootObject, getSelectedLines, getSelectedRanges, getTextRect, getToolTip, getToolTip, getTreeColumnHeader, getTreeModelHandler, getTreeNodeAt, indexOf, indexOf, init, insert, inserted, isCut, isSelected, made, modify, mouseOverChanged, objectAt, paintColumnHeader, paintColumnHeaders, paintEntireColumnHeaders, paintLine, paintLine, paintTableCell, paintTableCell, pressed, pressed, reExpandNode, reExpandSelectedNode, released, removeEntries, scrolled, scrollTo, select, select, select, selectAll, selectOnly, setRootObject, setSelectedLines, shrunk, toFlags, toReference, update, updateFlagsacceptColumnMoved, calculatePreferredColWidth, calculatePreferredRowHeight, calculatePreferredSize, calculateTextCharsInColumn, calculateTextLinesInRow, canSelect, checkControlFor, clearCellAdjustments, clearColumnWidthAdjustments, clearSelectionOnClick, closeActiveControl, columnMoved, deferPaintTableCell, doHotKey, editNow, editNow, endEditing, findCellsInArea, fixBorder, freezeUpdate, getCellAttributes, getCellControlFor, getCellData, getCellInsets, getCellPreferredSize, getCellRect, getCellText, getCellText, getColWidth, getColXPointInTable, getControlFor, getLock, getMaxColWidth, getMaxRowHeight, getMenuFor, getMenuOutsideCells, getMinColWidth, getMinRowHeight, getPreferredSize, getRowHeight, getRowYPointInTable, getTable, handleEvent, hasActiveControls, hasCellControlFor, inset, isActiveCellControl, makeActiveControlVisible, mouseMoving, notifyDataChange, onEvent, onKeyEvent, paintTableCellData, paintTableCellText, penClicked, penPressed, popupMenuEvent, positionCellControl, remapColumns, resized, restoreColumnWidthAdjustments, saveColumnWidthAdjustments, select, setColAdjust, setColWidth, show, showingMenuFor, sizeColumnToFitData, startedEditing, updateControlspublic IRegistryKey root
public RegistryTreeModel(IRegistryKey root)
protected IImage getIcon(Object parentNode, int childIndex)
TreeModelAdaptergetIcon in class TreeModelAdapterprotected String getDisplayString(Object parentNode, int childIndex)
TreeModelAdaptergetDisplayString in class TreeModelAdapterprotected byte getFlags(Object parentNode, int childIndex, byte savedFlags)
TreeModelAdapterOverride this to return the flags (IsNode and/or CanExpand) for the child of the parent.
getFlags in class TreeModelAdapterprotected long[] getChildIndexes(Object parent)
TreeModelAdapterThese indexes are to be used by you to reference that child relative to the parent.
getChildIndexes in class TreeModelAdapterpublic long[] getKeyIndexes(Object parent)
protected int getChildCount(Object parent)
TreeModelAdaptergetChildCount in class TreeModelAdapterprotected Object createObjectFor(Object parent, int child)
TreeModelAdaptercreateObjectFor in class TreeModelAdapterpublic IRegistryKey getKeyAt(int whichLine)