Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EditBoxImpl

Hierarchy

Index

Properties

__autoResize

__autoResize: boolean = false

__eventListeners

__eventListeners: any

__fullscreen

__fullscreen: boolean = false

__orientationChanged

__orientationChanged: any

_delegate

_delegate: EditBox | null = null

Private _domId

_domId: string = `EditBoxId_${++_domCount}`

_edTxt

_edTxt: HTMLInputElement | HTMLTextAreaElement | null = null

_editing

_editing: boolean = false

_inputFlag

_inputFlag: InputFlag = -1

_inputMode

_inputMode: InputMode = -1

Private _isTextArea

_isTextArea: boolean = false

Private _placeholderLabelAlign

_placeholderLabelAlign: null = null

Private _placeholderLabelFont

_placeholderLabelFont: null = null

Private _placeholderLabelFontColor

_placeholderLabelFontColor: null = null

Private _placeholderLabelFontSize

_placeholderLabelFontSize: number | null = null

Private _placeholderLineHeight

_placeholderLineHeight: null = null

Private _placeholderStyleSheet

_placeholderStyleSheet: HTMLStyleElement | null = null

_returnType

_returnType: KeyboardReturnType = -1

Private _textLabelAlign

_textLabelAlign: null = null

Private _textLabelFont

_textLabelFont: null = null

Private _textLabelFontColor

_textLabelFontColor: null = null

Private _textLabelFontSize

_textLabelFontSize: number | null = null

Methods

Private addDomToGameContainer

  • _addDomToGameContainer(): void

Private adjustWindowScroll

  • _adjustWindowScroll(): void

Private createInput

  • _createInput(): void

Private createTextArea

  • _createTextArea(): void

Private hideDom

  • _hideDom(): void

Private hideDomOnMobile

  • _hideDomOnMobile(): void

Private initStyleSheet

  • _initStyleSheet(): void

Private registerEventListeners

  • _registerEventListeners(): void

Private removeDomFromGameContainer

  • _removeDomFromGameContainer(): void

Private removeEventListeners

  • _removeEventListeners(): void

Private scrollBackWindow

  • _scrollBackWindow(): void

Private showDom

  • _showDom(): void

Private showDomOnMobile

  • _showDomOnMobile(): void

Private updateInputType

  • _updateInputType(): void

Private updateMatrix

  • _updateMatrix(): undefined | false

Private updateMaxLength

  • _updateMaxLength(): void

Private updatePlaceholderLabel

  • updatePlaceholderLabel(placeholderLabel: any): void

Private updateStyleSheet

  • _updateStyleSheet(): void

Private updateTextLabel

  • updateTextLabel(textLabel: any): void

beginEditing

  • beginEditing(): void

clear

  • clear(): void

endEditing

  • endEditing(): void

init

isFocused

  • isFocused(): boolean

onDisable

  • onDisable(): void

onEnable

  • onEnable(): void

setFocus

  • setFocus(value: any): void

setSize

  • setSize(width: number, height: number): void

setTabIndex

  • setTabIndex(index: number): void

update

  • update(): void

Generated using TypeDoc