Interface MenuItem

Hierarchy

Index

Properties

Methods

Properties

public actionView: View

public actionViewExpanded: boolean

public bubbleParent: boolean

public checkable: boolean

public checked: boolean

public enabled: boolean

public groupId: number

public icon: any

public itemId: number

public order: number

public showAsAction: number

public title: string

public titleCondensed: string

public visible: boolean

Methods

public addEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public applyProperties(props: Dictionary)

Parameters

public collapseActionView()

public expandActionView()

public fireEvent(name: string, event: Dictionary)

Parameters

public getActionView(): View

Returns

View

public getBubbleParent(): boolean

Returns

boolean

public getGroupId(): number

Returns

number

public getItemId(): number

Returns

number

public getOrder(): number

Returns

number

public getTitle(): string

Returns

string

public getTitleCondensed(): string

Returns

string

public isActionViewExpanded(): boolean

Returns

boolean

public isCheckable(): boolean

Returns

boolean

public isChecked(): boolean

Returns

boolean

public isEnabled(): boolean

Returns

boolean

public isVisible(): boolean

Returns

boolean

public removeEventListener(name: string, callback: (...args: any[]) => any)

Parameters

  • name: string
  • callback: (...args: any[]) => any

public setActionView(actionView: View)

Parameters

public setBubbleParent(bubbleParent: boolean)

Parameters

  • bubbleParent: boolean

public setCheckable(checkable: boolean)

Parameters

  • checkable: boolean

public setChecked(enabled: boolean)

Parameters

  • enabled: boolean

public setEnabled(enabled: boolean)

Parameters

  • enabled: boolean

public setIcon(icon: number)

Parameters

  • icon: number

public setIcon(icon: string)

Parameters

  • icon: string

public setShowAsAction(showAsAction: number)

Parameters

  • showAsAction: number

public setTitle(title: string)

Parameters

  • title: string

public setTitleCondensed(titleCondensed: string)

Parameters

  • titleCondensed: string

public setVisible(visible: boolean)

Parameters

  • visible: boolean