Packagecom.yworks.graph.drawing
Interfacepublic interface ITemplateStyle extends IVisualStyle, ICloneable
Implementors TemplateStyle

Common Interface for all yFiles FLEX styles that use a template class to define the visual appearance of the items.



Public Properties
 PropertyDefined By
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
IVisualStyle
  templateClass : Class
[read-only] The template class which defines the visual appearance of the items.
ITemplateStyle
  userTagProvider : IUserTagProvider
[read-only] A user tag provider which can retrieve user data associated with the item.
ITemplateStyle
Public Methods
 MethodDefined By
 Inherited
clone():Object
Creates a clone of this instance.
ICloneable
 Inherited
install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Prepares the rendering of an IModelItem in a CanvasComponent by adding ICanvasObject's to the provided canvas.
IVisualStyle
Property Detail
templateClassproperty
templateClass:Class  [read-only]

The template class which defines the visual appearance of the items.


Implementation
    public function get templateClass():Class
userTagProviderproperty 
userTagProvider:IUserTagProvider  [read-only]

A user tag provider which can retrieve user data associated with the item.


Implementation
    public function get userTagProvider():IUserTagProvider