Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • AbstractRippleButton
    • ParrotsAppSwitcher

Implements

  • IHasOptions
  • II18NApplicable
  • IApplicationAware
  • INeedFocus
  • OnInit
  • INeedFocus

Index

Constructors

constructor

  • new ParrotsAppSwitcher(appSvc: PhloxAppService, needFocusService: NeedFocusService): ParrotsAppSwitcher
  • Parameters

    • appSvc: PhloxAppService
    • needFocusService: NeedFocusService

    Returns ParrotsAppSwitcher

Properties

Private appPopoverType

appPopoverType: Type<any>

Protected beforeChangeEvent

beforeChangeEvent: EventEmitter<any>

Protected beforeFocusEvent

beforeFocusEvent: EventEmitter<any>

Protected beforeLostFocusEvent

beforeLostFocusEvent: EventEmitter<any>

Protected bypass

bypass: boolean

Private contentText

contentText: string

Private delay

delay: number

Protected focusEvent

focusEvent: EventEmitter<any>

Protected i18nKey

i18nKey: string

Protected i18nValue

i18nValue: any

Protected lostFocusEvent

lostFocusEvent: EventEmitter<any>

Protected needFocusService

needFocusService: NeedFocusService

Protected options

options: any

Protected phloxAppService

phloxAppService: PhloxAppService

Private source

source: any

Private subTopicName

subTopicName: string

Static SUB_TOPIC_NAME

SUB_TOPIC_NAME: string = SUB_TOPIC_NAME

Static TYPE_NAME

TYPE_NAME: string = TYPE_NAME

Methods

_onDocumentClick

  • _onDocumentClick($event: any): void
  • Parameters

    • $event: any

    Returns void

applyI18N

  • applyI18N(value: any): void
  • Parameters

    • value: any

    Returns void

Protected doFocus

  • doFocus($event: Event): void
  • Parameters

    • $event: Event

    Returns void

Protected doLostFocus

  • doLostFocus($event: Event): void
  • Parameters

    • $event: Event

    Returns void

Protected emitBeforeFocusEvent

  • emitBeforeFocusEvent($event?: any): void
  • Parameters

    • Optional $event: any

    Returns void

Protected emitBeforeLostFocusEvent

  • emitBeforeLostFocusEvent($event?: any): void
  • Parameters

    • Optional $event: any

    Returns void

Protected emitFocusEvent

  • emitFocusEvent($event: any): void
  • Parameters

    • $event: any

    Returns void

Protected emitLostFocusEvent

  • emitLostFocusEvent($event: any): void
  • Parameters

    • $event: any

    Returns void

getAppPopoverType

  • getAppPopoverType(): Type<any>
  • Returns Type<any>

getApplication

  • getApplication(): PhloxApp
  • Returns PhloxApp

getBeforeFocusEvent

  • getBeforeFocusEvent(): EventEmitter<any>
  • Returns EventEmitter<any>

getBeforeLostFocusEvent

  • getBeforeLostFocusEvent(): EventEmitter<any>
  • Returns EventEmitter<any>

getContentText

  • getContentText(): string
  • Returns string

getDelay

  • getDelay(): number
  • Returns number

getFocusEvent

  • getFocusEvent(): EventEmitter<any>
  • Returns EventEmitter<any>

getI18NKey

  • getI18NKey(): string
  • Returns string

getI18NValue

  • getI18NValue(): any
  • Returns any

getLostFocusEvent

  • getLostFocusEvent(): EventEmitter<any>
  • Returns EventEmitter<any>

getOptions

  • getOptions(): any
  • Returns any

getSubTopicName

  • getSubTopicName(): string
  • Returns string

isBypassKey

  • isBypassKey(): boolean
  • Returns boolean

ngOnInit

  • ngOnInit(): void
  • Returns void

onClick

  • onClick(event: MouseEvent): void
  • Parameters

    • event: MouseEvent

    Returns void

onFocus

  • onFocus(event: any): void
  • Parameters

    • event: any

    Returns void

onFocusing

  • onFocusing($event: Event): void
  • Parameters

    • $event: Event

    Returns void

onLostFocus

  • onLostFocus(event: any): void
  • Parameters

    • event: any

    Returns void

onLostFocusing

  • onLostFocusing($event: Event): void
  • Parameters

    • $event: Event

    Returns void

onPopoverActived

  • onPopoverActived($event: any): void
  • Parameters

    • $event: any

    Returns void

onPopoverBtnClicked

  • onPopoverBtnClicked($event: MouseEvent): void
  • Parameters

    • $event: MouseEvent

    Returns void

onPopoverInactived

  • onPopoverInactived($event: any): void
  • Parameters

    • $event: any

    Returns void

playRippleEffect

  • playRippleEffect(event: MouseEvent, target?: any): Promise<any>
  • Play a ripple effect at the position specified in event object.

    Parameters

    • event: MouseEvent

      A mouse event causing the ripple effect to be played. For example, a mouse click event, etc.

    • Optional target: any

      A target DOM element to display the effect. By default, this should be an element causing an event to occur (event.target).

    Returns Promise<any>

setBeforeFocusEvent

  • setBeforeFocusEvent(event: EventEmitter<any>): void
  • Parameters

    • event: EventEmitter<any>

    Returns void

setBeforeLostFocusEvent

  • setBeforeLostFocusEvent(event: EventEmitter<any>): void
  • Parameters

    • event: EventEmitter<any>

    Returns void

setBypassKey

  • setBypassKey(bypass: boolean): void
  • Parameters

    • bypass: boolean

    Returns void

setFocusEvent

  • setFocusEvent(event: EventEmitter<any>): void
  • Parameters

    • event: EventEmitter<any>

    Returns void

setI18NKey

  • setI18NKey(i18nKey: string): void
  • Parameters

    • i18nKey: string

    Returns void

setLostFocusEvent

  • setLostFocusEvent(event: EventEmitter<any>): void
  • Parameters

    • event: EventEmitter<any>

    Returns void

setOptions

  • setOptions(options: any): void
  • Parameters

    • options: any

    Returns void

Generated using TypeDoc