Search Results for

    Show / Hide Table of Contents

    Class InteractiveTuiTools

    Tools for the interactive TUI implementation

    Inheritance
    object
    InteractiveTuiTools
    Namespace: Terminaux.Inputs.Interactive
    Assembly: Terminaux.dll
    Syntax
    public static class InteractiveTuiTools

    Methods

    | Edit this page View Source

    FirstOnUnderflow<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>)

    Goes up to the first element upon underflow (caused by remove operation, ...). This applies to the first and the second pane.

    Declaration
    public static void FirstOnUnderflow<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui
    Type Parameters
    Name Description
    TPrimary
    TSecondary
    | Edit this page View Source

    LastOnOverflow<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>)

    Goes down to the last element upon overflow (caused by remove operation, ...). This applies to the first and the second pane.

    Declaration
    public static void LastOnOverflow<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui
    Type Parameters
    Name Description
    TPrimary
    TSecondary
    | Edit this page View Source

    OpenInteractiveTui<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>)

    Opens the interactive TUI

    Declaration
    public static void OpenInteractiveTui<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui

    The inherited class instance of the interactive TUI

    Type Parameters
    Name Description
    TPrimary
    TSecondary
    Exceptions
    Type Condition
    TerminauxException
    | Edit this page View Source

    SelectionMovement<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>, int)

    Initiates the selection movement

    Declaration
    public static void SelectionMovement<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui, int pos)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui

    Interactive TUI to deal with

    int pos

    Position to move the pane selection to

    Type Parameters
    Name Description
    TPrimary
    TSecondary
    | Edit this page View Source

    SelectionMovement<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>, int, int)

    Initiates the selection movement

    Declaration
    public static void SelectionMovement<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui, int pos, int paneNum)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui

    Interactive TUI to deal with

    int pos

    Position to move the pane selection to

    int paneNum

    Pane number to process

    Type Parameters
    Name Description
    TPrimary
    TSecondary
    | Edit this page View Source

    SwitchSides<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary>)

    Switches between two panes

    Declaration
    public static void SwitchSides<TPrimary, TSecondary>(BaseInteractiveTui<TPrimary, TSecondary> interactiveTui)
    Parameters
    Type Name Description
    BaseInteractiveTui<TPrimary, TSecondary> interactiveTui

    Interactive TUI to deal with

    Type Parameters
    Name Description
    TPrimary
    TSecondary
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX