Properties of the LinIdentifierControl React component.

interface LinIdentifierControlProps {
    collapsed?: boolean;
    collapsedChange?: (value: boolean) => void;
    collapsible?: boolean;
    disabled?: boolean;
    disableSelectMessageButton?: boolean;
    disableSelectSignalButton?: boolean;
    hideSection?: boolean;
    hideSelectMessageButton?: boolean;
    linIdentifier: string;
    onErrorsChange?: (errors: boolean) => void;
    onLinIdentifierChange: (identifier: string) => void;
    showSelectMessageDialogChange?: (value: boolean) => void;
    showSelectSignalButton?: boolean;
    showSelectSignalDialogChange?: (value: boolean) => void;
}

Properties

collapsed?: boolean

Current collapse state of the SectionControl.

collapsedChange?: (value: boolean) => void

Callback that will be called when collapse state has changed.

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

        The new collapse state.

      Returns void

collapsible?: boolean

Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true.

disabled?: boolean

Set to true to disable this control.

disableSelectMessageButton?: boolean

Set to true if the select message button should be disabled.

disableSelectSignalButton?: boolean

Set to true if the select signal button should be disabled.

hideSection?: boolean

Set to true if this control shouldn't be encapsulated inside a SectionControl.

hideSelectMessageButton?: boolean

Set to true if the select message button shouldn't be visible.

linIdentifier: string

The current LIN identifier.

onErrorsChange?: (errors: boolean) => void

Callback that will be called when the errors state has changed.

Type declaration

    • (errors: boolean): void
    • Parameters

      • errors: boolean

        The new errors state.

      Returns void

onLinIdentifierChange: (identifier: string) => void

Callback that will be called when the LIN identifier has changed.

Type declaration

    • (identifier: string): void
    • Parameters

      • identifier: string

        The new LIN identifier.

      Returns void

showSelectMessageDialogChange?: (value: boolean) => void

Callback that will be called when the select message dialog has been opened or closed.

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

        The new show select message dialog state.

      Returns void

showSelectSignalButton?: boolean

Set to true if the select signal button should be visible.

showSelectSignalDialogChange?: (value: boolean) => void

Callback that will be called when the select signal dialog has been opened or closed.

Type declaration

    • (value: boolean): void
    • Parameters

      • value: boolean

        The new show select signal dialog state.

      Returns void