Zebra API Doc

zebra.ui.tree.DefEditors Class

Default tree editor provider

Item Index

Attributes

Methods

@shouldStartEdit

(
  • src
  • e
)
Boolean

The method is called to ask if the given input event should trigger an tree component item

Parameters:


Return: Boolean

true if the event should trigger edition of a tree component item

fetchEditedValue

(
  • src
  • editor
)
Object

Fetch a model item from the given UI editor component

Parameters:


Return: Object

an new tree model element value fetched from the given UI editor component

getEditor

(
  • src
  • item
)
zebra.ui.Panel

Get an UI component to edit the given tree model element

Parameters:


Return: zebra.ui.Panel

an editor UI component

Attributes

tf

zebra.ui.TextField private readonly

Internal component that are designed as default editor component