documentationfor yFiles for HTML 3.0.0.3

ObjectRendererBase<TRenderTag,TVisual extends Visual>

An abstract base class for convenient implementation of IObjectRenderer<T>.

Inheritance Hierarchy
ObjectRendererBase
Implemented Interfaces

Remarks

The only method that needs to be implemented is createVisual, however to improve rendering performance it is highly recommended to implement at least updateVisual, too.

Type Parameters

TRenderTag
The type of the subclasses will render. This class will cast the render tag to this type before passing it to subclasses.
TVisual: Visual
The type of the visual this instance will create. Subclasses may declare a fixed type to make implementing and more convenient.

Type Details

yFiles module
view

Constructors

Methods