planner-core/src/roomle-planner.
# Hierarchy
default
<PlannerSelectionHandlerEvent
>↳
default
# Table of contents
# Constructors
# Methods
- addEventListener
- cancelSelection
- check
- disableEvents
- dispatchEvent
- enableEvents
- getSelectedIds
- getSelectedPlanElementViewModels
- getSelectionMode
- hasMultiSelection
- hasSelection
- isSelected
- removeEventListener
- removeSelection
- setSelectionMode
# Constructors
# constructor
• new default()
# Inherited from
# Methods
# addEventListener
▸ addEventListener(eventName
, callback
, scope
): void
# Parameters
Name | Type |
---|---|
eventName | number |
callback | ListenerFunction <PlannerSelectionHandlerEvent > |
scope | any |
# Returns
void
# Inherited from
# cancelSelection
▸ cancelSelection(reason
): void
# Parameters
Name | Type |
---|---|
reason | CancelSelectionReasons |
# Returns
void
# check
▸ check(planElementViewModel
): void
# Parameters
Name | Type |
---|---|
planElementViewModel | default |
# Returns
void
# disableEvents
▸ disableEvents(): void
# Returns
void
# Inherited from
# dispatchEvent
▸ dispatchEvent(eventName
, arg?
): void
# Parameters
Name | Type |
---|---|
eventName | number |
arg? | PlannerSelectionHandlerEvent |
# Returns
void
# Inherited from
# enableEvents
▸ enableEvents(): void
# Returns
void
# Inherited from
# getSelectedIds
▸ getSelectedIds(): number
[]
# Returns
number
[]
# getSelectedPlanElementViewModels
▸ getSelectedPlanElementViewModels(): default
[]
# Returns
default
[]
# getSelectionMode
▸ getSelectionMode(): SELECTION_MODE
# Returns
# hasMultiSelection
▸ hasMultiSelection(): boolean
# Returns
boolean
# hasSelection
▸ hasSelection(): boolean
# Returns
boolean
# isSelected
▸ isSelected(id
): boolean
# Parameters
Name | Type |
---|---|
id | number |
# Returns
boolean
# removeEventListener
▸ removeEventListener(eventName
, fun
): void
# Parameters
Name | Type |
---|---|
eventName | number |
fun | ListenerFunction <PlannerSelectionHandlerEvent > |
# Returns
void
# Inherited from
# removeSelection
▸ removeSelection(): void
# Returns
void
# setSelectionMode
▸ setSelectionMode(mode
): void
# Parameters
Name | Type |
---|---|
mode | SELECTION_MODE |
# Returns
void