class UIViewRenderer
A view object that dynamically renders a referenced (bound) view.
class UIViewRenderer extends View
Description
An view renderer component renders unattached view content within its parent view component.
- The rendered view is not attached to the view renderer object itself. Therefore, it must be attached to another object, such as an activity.
Constructor
- constructor()Creates a new managed object.
Instance Members
- applyViewPreset(preset)Applies the provided preset properties to this object.
- viewThe current view to be rendered.
- findViewContent(type)Searches the view hierarchy for view objects of the provided type.
- requestFocus()Requests input focus on the current view element.
Inherited Members
- render(callback) abstractA method that should be implemented to render a View object.
- emit(event)Emits an event, immediately calling all event handlers.
- emitChange(name?, data?)Emits a change event, an instance of ManagedChangeEvent.
- listen(handler)Adds a handler for all events emitted by this object.
- isUnlinked()Returns true if the object has been unlinked.
- unlink()Unlinks this managed object.
- beforeUnlink() protectedA method that’s called immediately before unlinking an object, can be overridden.
- attach(target, observer?) protectedAttaches the provided managed object to this object.
- autoAttach(propertyName, observer?) protectedObserves a property, so that any object assigned to it is attached immediately.