Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface INotesDialogEvents

Hierarchy

Index

Methods

addChild

append

blur

  • blur(): any

close

  • close(): any
  • Emitted when the close button is pressed in the dialog, or when the close method is called.

    Returns any

enter

  • enter(reason: "mouse" | "focus"): any
  • Parameters

    • reason: "mouse" | "focus"

    Returns any

focus

  • focus(): any

getDialogList

  • getDialogList(): Iterable<Dialog>
  • This event is handled by the GameScreen.

    Returns Iterable<Dialog>

    A IterableOf<Dialog> containing sibling dialogs. The list may contain this dialog.

hide

  • hide(): any

inputChange

  • inputChange(event: Event): any

leave

  • leave(reason: "mouse" | "focus"): any
  • Parameters

    • reason: "mouse" | "focus"

    Returns any

load

  • load(): any
  • Emitted after all fields decorated with @Save are loaded

    Returns any

move

  • move(xDiff: number, yDiff: number): any
  • Emitted when the dialog is moved

    Parameters

    • xDiff: number
    • yDiff: number

    Returns any

options

  • options(): any
  • Emitted when the settings button is pressed in the dialog.

    Returns any

regenerateBox

  • regenerateBox(box: IBox): any

remove

  • remove(): any

removeChild

  • removeChild(): any

removeContextMenu

  • removeContextMenu(): any

removeForAppend

  • removeForAppend(): any

resize

  • resize(wDiff: number, hDiff: number): any
  • Emitted when the dialog is resized

    Parameters

    • wDiff: number
    • hDiff: number

    Returns any

show

  • show(): any

showNote

  • showNote(noteId: number): any
  • Parameters

    • noteId: number

      The note that was shown

    Returns any

switchPanel

  • switchPanel(id: string | number, panel: Component): any
  • Emitted when the dialog panel changes

    Parameters

    • id: string | number

      The string or number representing the panel that was switched to

    • panel: Component

      The panel that was switched to

    Returns any

toggleVisible

  • toggleVisible(visible: boolean): any

willRemove

  • willRemove(): boolean | void
  • Returns boolean | void

    false to cancel removal.

Generated using TypeDoc