planner-core/src/roomle-planner..default

# Hierarchy

# Table of contents

# Constructors

# Methods

# Constructors

# constructor

new default()

# Inherited from

default.constructor

# Methods

# addEventListener

addEventListener(eventName, callback, scope): void

# Parameters

Name Type
eventName number
callback ListenerFunction<PlannerSelectionHandlerEvent>
scope any

# Returns

void

# Inherited from

default.addEventListener


# 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

default.disableEvents


# dispatchEvent

dispatchEvent(eventName, arg?): void

# Parameters

Name Type
eventName number
arg? PlannerSelectionHandlerEvent

# Returns

void

# Inherited from

default.dispatchEvent


# enableEvents

enableEvents(): void

# Returns

void

# Inherited from

default.enableEvents


# getSelectedIds

getSelectedIds(): number[]

# Returns

number[]


# getSelectedPlanElementViewModels

getSelectedPlanElementViewModels(): default[]

# Returns

default[]


# getSelectionMode

getSelectionMode(): SELECTION_MODE

# Returns

SELECTION_MODE


# 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

default.removeEventListener


# removeSelection

removeSelection(): void

# Returns

void


# setSelectionMode

setSelectionMode(mode): void

# Parameters

Name Type
mode SELECTION_MODE

# Returns

void