Class BasicLazyTreeKt

    • Constructor Detail

    • Method Detail

      • BasicLazyTree

        @Deprecated(message = "Use BasicLazyTree with 'interactionSource' parameter instead") final static <T extends Any> Unit ,.,.,.,.,.,.,.,.,org.jetbrains.jewel.foundation.lazy.tree.TreeState,.,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,.,org.jetbrains.jewel.foundation.lazy.tree.KeyActions,org.jetbrains.jewel.foundation.lazy.tree.PointerEventActions,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function2)>BasicLazyTree(Tree<T> tree, SelectionMode selectionMode, Function1<Tree.Element<T>, Unit> onElementClick, <Error class: unknown class> elementBackgroundFocused, <Error class: unknown class> elementBackgroundSelectedFocused, <Error class: unknown class> elementBackgroundSelected, <Error class: unknown class> indentSize, <Error class: unknown class> elementBackgroundCornerSize, <Error class: unknown class> elementPadding, <Error class: unknown class> elementContentPadding, <Error class: unknown class> elementMinHeight, <Error class: unknown class> chevronContentGap, TreeState treeState, <Error class: unknown class> modifier, Function1<Tree.Element<T>, Unit> onElementDoubleClick, Function1<List<Tree.Element<T>>, Unit> onSelectionChange, <Error class: unknown class> platformDoubleClickDelay, KeyActions keyActions, PointerEventActions pointerEventScopedActions, Function1<TreeElementState, Unit> chevronContent, Function2<SelectableLazyItemScope, Tree.Element<T>, Unit> nodeContent)

        Renders a lazy tree view based on the provided tree data structure.

        Parameters:
        tree - The tree structure to be rendered.
        selectionMode - The selection mode for the tree nodes.
        onElementClick - Callback function triggered when a tree node is clicked.
        elementBackgroundFocused - The background color of a tree node when focused.
        elementBackgroundSelectedFocused - The background color of a selected tree node when focused.
        elementBackgroundSelected - The background color of a selected tree node.
        indentSize - The size of the indent for each level of the tree node.
        elementBackgroundCornerSize - The corner size of the background shape of a tree node.
        elementPadding - The padding for the entire tree node.
        elementContentPadding - The padding for the content within a tree node.
        elementMinHeight - The minimum height of a tree node.
        chevronContentGap - The gap between the chevron icon and the node content.
        treeState - The state object for managing the tree view state.
        modifier - Optional modifier for styling or positioning the tree view.
        onElementDoubleClick - Callback function triggered when a tree node is double-clicked.
        onSelectionChange - Callback function triggered when the selected tree nodes change.
        platformDoubleClickDelay - The duration between two consecutive clicks to be considered a double-click.
        keyActions - The key binding actions for the tree view.
        pointerEventScopedActions - The pointer event actions for the tree view.
        chevronContent - The composable function responsible for rendering the chevron icon.
        nodeContent - The composable function responsible for rendering the content of a tree node.
      • BasicLazyTree

         final static <T extends Any> Unit ,.,.,.,.,.,.,.,.,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,kotlin.jvm.functions.Function1,.,org.jetbrains.jewel.foundation.lazy.SelectionMode,org.jetbrains.jewel.foundation.lazy.tree.TreeState,.,org.jetbrains.jewel.foundation.lazy.tree.KeyActions,org.jetbrains.jewel.foundation.lazy.tree.PointerEventActions,.,kotlin.jvm.functions.Function2)>BasicLazyTree(Tree<T> tree, <Error class: unknown class> elementBackgroundFocused, <Error class: unknown class> elementBackgroundSelectedFocused, <Error class: unknown class> elementBackgroundSelected, <Error class: unknown class> indentSize, <Error class: unknown class> elementBackgroundCornerSize, <Error class: unknown class> elementPadding, <Error class: unknown class> elementContentPadding, <Error class: unknown class> elementMinHeight, <Error class: unknown class> chevronContentGap, Function1<Tree.Element<T>, Unit> onElementClick, Function1<Tree.Element<T>, Unit> onElementDoubleClick, Function1<List<Tree.Element<T>>, Unit> onSelectionChange, Function1<TreeElementState, Unit> chevronContent, <Error class: unknown class> modifier, SelectionMode selectionMode, TreeState treeState, <Error class: unknown class> platformDoubleClickDelay, KeyActions keyActions, PointerEventActions pointerEventScopedActions, <Error class: unknown class> interactionSource, Function2<SelectableLazyItemScope, Tree.Element<T>, Unit> nodeContent)

        Renders a lazy tree view based on the provided tree data structure.

        Parameters:
        tree - The tree structure to be rendered.
        elementBackgroundFocused - The background color of a tree node when focused.
        elementBackgroundSelectedFocused - The background color of a selected tree node when focused.
        elementBackgroundSelected - The background color of a selected tree node.
        indentSize - The size of the indent for each level of the tree node.
        elementBackgroundCornerSize - The corner size of the background shape of a tree node.
        elementPadding - The padding for the entire tree node.
        elementContentPadding - The padding for the content within a tree node.
        elementMinHeight - The minimum height of a tree node.
        chevronContentGap - The gap between the chevron icon and the node content.
        onElementClick - Callback function triggered when a tree node is clicked.
        onElementDoubleClick - Callback function triggered when a tree node is double-clicked.
        onSelectionChange - Callback function triggered when the selected tree nodes change.
        chevronContent - The composable function responsible for rendering the chevron icon.
        modifier - Optional modifier for styling or positioning the tree view.
        selectionMode - The selection mode for the tree nodes.
        treeState - The state object for managing the tree view state.
        platformDoubleClickDelay - The duration between two consecutive clicks to be considered a double-click.
        keyActions - The key binding actions for the tree view.
        pointerEventScopedActions - The pointer event actions for the tree view.
        interactionSource - The interaction source for the tree view.
        nodeContent - The composable function responsible for rendering the content of a tree node.