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:29

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


# disableEvents

disableEvents(): void

Inherited from EventDispatcher.disableEvents

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

Returns: void


# dispatchEvent

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

Inherited from EventDispatcher.dispatchEvent

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

Parameters:

Name Type
eventName number
arg? PlannerSelectionHandlerEvent

Returns: void


# enableEvents

enableEvents(): void

Inherited from EventDispatcher.enableEvents

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

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:49

Parameters:

Name Type
eventName number
fun ListenerFunctionPlannerSelectionHandlerEvent

Returns: void


# setSelectionMode

setSelectionMode(mode: SELECTIONMODE): _void

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

Parameters:

Name Type
mode SELECTION_MODE

Returns: void