TTreeControl

TControl for viewing and editing a TTreeModel.

Inheritance

LevelAncestorDescription
1TObjectUltimate ancestor in a class hierarchy
2TBaseObjectA base class for objects that can be used instead of TObject.
3TControlVisual user interface element that can react to user input.
4TTreeControl

Source

UserInterface.Control.Tree.pas (40)

Fields

ScopeVisibilityTypeNameDescription
InstanceprivateTTreeModelFModel
InstanceprivateTNavigatableTreeNodePathFFocusedNodePath
InstanceprivateTBooleanFAutoExpandAll
InstanceprivateTOpenedTreeNodePathsOpenedNodePaths
InstanceprivateTInteger32ItemHeight
InstanceprivateTNavigatableTreeNodePathTopNodePath
InstanceprivateTTreeControlModelListenerTreeModelListener
InstancepublicTBooleanAllowRefresh

Methods

ScopeVisibilityResultNameDescription
InstanceprivateSetModel(Value: TTreeModel)
InstanceprotectedTInteger32RectangleGetContextMenuTargetBounds()
InstanceprotectedTBooleanNodePathIsVisible(Path: TTreeNodePath)
InstanceprotectedTNavigatableTreeNodePathNodePathAtRow(Row: TInteger32)
InstanceprotectedTInteger32RowAtY(Y: TInteger32)
InstanceprotectedTBooleanPositionInGlyph(Path: TTreeNodePath; Position: TInteger32Point)
InstanceprotectedTInteger32NodePathsVisible()
InstanceprotectedTInteger32NodePathsVisibleForHeight(Height: TInteger32)
InstanceprotectedTInteger32IndexOfTopNodePath()
InstanceprotectedTInteger32GetNodeTop(Path: TTreeNodePath)
InstanceprotectedTInteger32GetNodeInset(Path: TTreeNodePath)
InstanceprotectedTInteger32RectangleGetNodeBounds(Path: TTreeNodePath)
InstanceprotectedPaintTreeGlyphBackground(Canvas: TCanvas; Bounds: T2dFloatingPoint64Rectangle)
InstanceprotectedPaintTreeGlyphClosed(Canvas: TCanvas; Bounds: T2dFloatingPoint64Rectangle)
InstanceprotectedPaintTreeGlyphOpened(Canvas: TCanvas; Bounds: T2dFloatingPoint64Rectangle)
InstanceprotectedPaintNodePath(Canvas: TCanvas; Path: TTreeNodePath; Top: TInteger32)
InstanceprotectedPaintNodePaths(Canvas: TCanvas)
InstanceprotectedCorrectFocusedNodePathForCollapse(Path: TNavigatableTreeNodePath)
InstanceprotectedCorrectTopNodePathForExpand(Path: TTreeNodePath)
InstanceprotectedTBooleanNavigate(Direction: TNavigationDirection; KeyModifiers: TKeyModifiers)
InstanceprotectedScrollNodeIntoView(Path: TTreeNodePath)
InstanceprotectedFireFocusedNodeChanged()
InstanceprotectedTestFocusedNodePathChanged(PreviousFocusedNodePath: TTreeNodePath)
InstanceprotectedRefreshCachedInformation()
InstancepublicCreate()
InstancepublicDestroy()
InstancepublicPaint(Canvas: TCanvas)
InstancepublicTControlEmbellish()
InstancepublicVisibleRectangleChanged()
InstancepublicTBooleanToggle(Path: TNavigatableTreeNodePath)
InstancepublicTBooleanCollapse(Path: TNavigatableTreeNodePath)
InstancepublicTBooleanExpand(Path: TTreeNodePath)
InstancepublicExpandAll()
InstancepublicExpandRoot()
InstancepublicChanged()
InstancepublicNodeAdded()
InstancepublicNodeRemoved()
InstancepublicTInteger32SizeGetPreferredSize(AvailableSize: TInteger32Size)
InstancepublicTInteger32SizeGetScrollSize(AvailableSize: TInteger32Size)
InstancepublicTBooleanMouseLeftDown(Event: TMouseButtonEvent)
InstancepublicTBooleanMouseRightDown(Event: TMouseButtonEvent)
InstancepublicTBooleanKeyDown(Event: TKeyDownEvent)
InstancepublicTBooleanHandlesNavigationDimension(NavigationDimension: TValidNavigationDimension)
InstancepublicTValuePathGetFocusedObject()