Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / LinIdentifierControlProps
Interface: LinIdentifierControlProps
Properties of the LinIdentifierControl React component.
Properties
collapsed?
optionalcollapsed?:boolean
Current collapse state of the SectionControl.
collapsedChange?
optionalcollapsedChange?: (value) =>void
Callback that will be called when collapse state has changed.
Parameters
value
boolean
The new collapse state.
Returns
void
collapsible?
optionalcollapsible?:boolean
Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true.
disabled?
optionaldisabled?:boolean
Set to true to disable this control.
fullScreen?
optionalfullScreen?:boolean
Set to true if the select message and select signal dialogs should be full screen dialogs.
hideSection?
optionalhideSection?:boolean
Set to true if this control shouldn’t be encapsulated inside a SectionControl.
linIdentifier
linIdentifier:
string
The current LIN identifier.
nodeIdentifier?
optionalnodeIdentifier?: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?
optionalonErrorsChange?: (errors) =>void
Callback that will be called when the errors state has changed.
Parameters
errors
boolean
The new errors state.
Returns
void
onLinIdentifierChange
onLinIdentifierChange: (
identifier) =>void
Callback that will be called when the LIN identifier has changed.
Parameters
identifier
string
The new LIN identifier.
Returns
void
onSignalChange?
optionalonSignalChange?: (identifier,signal) =>void
Callback that will be called when the settings have changed after selecting a signal. If this property is set, then the onLinIdentifierChange callback will not be called.
Parameters
identifier
string
The new LIN identifier.
signal
SignalDefinition | undefined
The new signal or undefined if no signal is selected.
Returns
void
parentDialogTitle?
optionalparentDialogTitle?: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.
sourceIdFilter?
optionalsourceIdFilter?:string
The source identifier that will be used to filter messages in the select dialog. Leave undefined if no filtering should be done.