Kvaser CanKing GUI Extensions SDK v7.6.1


Kvaser CanKing GUI Extensions SDK / controls / CanIdentifierFrameControlProps

Interface: CanIdentifierFrameControlProps

Properties of the CanIdentifierFrameControl React component.

Properties

collapsed?

optional collapsed?: boolean

Current collapse state of the SectionControl.


collapsedChange?

optional collapsedChange?: (value) => void

Callback that will be called when collapse state has changed.

Parameters

value

boolean

The new collapse state.

Returns

void


collapsible?

optional collapsible?: boolean

Set to true if the SectionControl should be collapsible.


disableSelectMessageButton?

optional disableSelectMessageButton?: boolean

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


frame

frame: WriteFrame

The frame object that holds the CAN identifier.


fullScreen?

optional fullScreen?: boolean

Set to true if the select message and select signal dialogs should be full screen dialogs.


hideSection?

optional hideSection?: boolean

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


hideSelectMessageButton?

optional hideSelectMessageButton?: boolean

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


nodeIdentifier?

optional nodeIdentifier?: string

Identifier of the node that will be used to filter messages and signals in the select dialogs. Leave undefined if no filtering should be done.


onErrorsChange?

optional onErrorsChange?: (errors) => void

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

Parameters

errors

boolean

The new errors state.

Returns

void


onFrameChange

onFrameChange: (value) => void

Callback that will be called when the frame is updated after the CAN identifier has changed.

Parameters

value

WriteFrame

The new frame object.

Returns

void


parentDialogTitle?

optional parentDialogTitle?: string

Name of a parent dialog, if any, that is used as the parent for the select message and select signal dialogs. Leave undefined if there is no parent dialog.


showReadOnlySignals?

optional showReadOnlySignals?: boolean

Set to true if the select message and select signal dialogs should include messages/signals that are marked as read-only. Default is false.


sourceIdFilter?

optional sourceIdFilter?: string

The source identifier that will be used to filter messages in the select dialog. Leave undefined if no filtering should be done.