Class: ViewRenderer

sync.view.ViewRenderer

new ViewRenderer()

Base class for oXygen XML WebApp views.
Source:

Extends

  • goog.events.EventTarget

Methods

closed()

Callback when the view is hidden from the user. This may include collapsing it, switching to another another view in a tabbed view container, etc.
Source:

editorChanged(editor)

Callback received when the focused editor was changed. When the view renderer is installed, there might be no editor loaded. However, if the editor is already loaded when install is called, this method is called immediately after install.
Parameters:
Name Type Description
editor sync.api.Editor The new editor.
Source:

focus()

Method called to focus the current view.
Source:

getTitle() → {string}

Returns the title of the view.
Source:
Returns:
The title of the view.
Type
string

getTitleTooltip() → {string}

Returns the tooltip for the title of the view.
Source:
Returns:
The tooltip.
Type
string

install(element)

This method is called when the view renderer is linked to the actual place where the view will be rendered.
Parameters:
Name Type Description
element HTMLElement The element.
Source:

opened()

Callback when the view is shown to the user. This may include expading it, switching the tab of this view in a tabbed view container, etc.
Source: