TreeView<T> class
Represents a Tree view
- Implemented types
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
TreeView({Event<
TreeViewExpansionEvent> ? onDidExpandElement, Event<TreeViewExpansionEvent> ? onDidCollapseElement, List? selection, Event<TreeViewSelectionChangeEvent> ? onDidChangeSelection, bool? visible, Event<TreeViewVisibilityChangeEvent> ? onDidChangeVisibility, Event<TreeCheckboxChangeEvent> ? onDidChangeCheckboxState, String? message, String? title, String? description, ViewBadge? badge, Future reveal(dynamic, [dynamic])?}) -
factory
Properties
- badge ↔ ViewBadge?
-
Available on TreeView<
The badge to display for this TreeView. To remove the badge, set to undefined.T> , provided by the TreeView$Typings extensiongetter/setter pair - description ↔ String?
-
Available on TreeView<
An optional human-readable description which is rendered less prominently in the title of the view. Setting the title description to null, undefined, or empty string will remove the description from the view.T> , provided by the TreeView$Typings extensiongetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String?
-
Available on TreeView<
An optional human-readable message that will be rendered in the view. Setting the message to null, undefined, or empty string will remove the message from the view.T> , provided by the TreeView$Typings extensiongetter/setter pair -
onDidChangeCheckboxState
→ Event<
TreeCheckboxChangeEvent< T> > -
Available on TreeView<
An event to signal that an element or root has either been checked or unchecked.T> , provided by the TreeView$Typings extensionno setter -
onDidChangeSelection
→ Event<
TreeViewSelectionChangeEvent< T> > -
Available on TreeView<
Event that is fired when the {@link TreeView.selectionselection} has changedT> , provided by the TreeView$Typings extensionno setter -
onDidChangeVisibility
→ Event<
TreeViewVisibilityChangeEvent> -
Available on TreeView<
Event that is fired when {@link TreeView.visiblevisibility} has changedT> , provided by the TreeView$Typings extensionno setter -
onDidCollapseElement
→ Event<
TreeViewExpansionEvent< T> > -
Available on TreeView<
Event that is fired when an element is collapsedT> , provided by the TreeView$Typings extensionno setter -
onDidExpandElement
→ Event<
TreeViewExpansionEvent< T> > -
Available on TreeView<
Event that is fired when an element is expandedT> , provided by the TreeView$Typings extensionno setter - reveal ↔ Future Function(T, [dynamic])
-
Available on TreeView<
T> , provided by the TreeView$Typings extensiongetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selection
→ List<
T> -
Available on TreeView<
Currently selected elements.T> , provided by the TreeView$Typings extensionno setter - title ↔ String?
-
Available on TreeView<
The tree view title is initially taken from the extension package.json Changes to the title property will be properly reflected in the UI in the title of the view.T> , provided by the TreeView$Typings extensiongetter/setter pair - visible → bool
-
Available on TreeView<
T> , provided by the TreeView$Typings extensiontrue
if the {@link TreeViewtree view} is visible otherwisefalse
.no setter
Methods
-
dispose(
) → dynamic -
Available on Disposable, provided by the Disposable$Typings extension
Dispose this object. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited