API ReferenceGlobalsPlannerSelectionHandler

# Class: PlannerSelectionHandler

# Hierarchy

# Index

# Methods

# Methods

# addEventListener

addEventListener(eventName: number, callback: ListenerFunctionPlannerSelectionHandlerEvent›, scope: any): void

Inherited from EventDispatcher.addEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:28

Parameters:

Name Type
eventName number
callback ListenerFunctionPlannerSelectionHandlerEvent
scope any

Returns: void


# cancelSelection

cancelSelection(): void

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:37

Returns: void


# check

check(planElementViewModel: PlanElementViewModel): void

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:28

Parameters:

Name Type
planElementViewModel PlanElementViewModel

Returns: void


# dispatchEvent

dispatchEvent(eventName: number, arg?: PlannerSelectionHandlerEvent): void

Inherited from EventDispatcher.dispatchEvent

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:32

Parameters:

Name Type
eventName number
arg? PlannerSelectionHandlerEvent

Returns: void


# getSelectedIds

getSelectedIds(): number[]

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:93

Returns: number[]


# getSelectionMode

getSelectionMode(): SELECTION_MODE

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:85

Returns: SELECTION_MODE


# hasSelection

hasSelection(): boolean

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:89

Returns: boolean


# isSelected

isSelected(id: number): boolean

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:99

Parameters:

Name Type
id number

Returns: boolean


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunctionPlannerSelectionHandlerEvent›): void

Inherited from EventDispatcher.removeEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:48

Parameters:

Name Type
eventName number
fun ListenerFunctionPlannerSelectionHandlerEvent

Returns: void


# setSelectionMode

setSelectionMode(mode: SELECTION_MODE): void

Defined in packages/planner-core/src/utils/planner-selection-handler.ts:81

Parameters:

Name Type
mode SELECTION_MODE

Returns: void