Packagecom.yworks.graph.drawing
Classpublic class TemplateLabelStyle
InheritanceTemplateLabelStyle Inheritance TemplateStyle Inheritance Object
Implements ILabelStyle



Public Properties
 PropertyDefined By
 InheritedcontextPropertyName : String
[read-only] The name of the property of the template class to write the context to.
TemplateStyle
 InheriteddataPropertyName : String
[read-only] The name of the property of the template class to write the user data to.
TemplateStyle
 InheritedhideSelectionPaintable : Boolean
Whether this style should return a void implementation when it is queried for an ISelectionPaintable implementation.
TemplateStyle
 InheritedstyleRenderer : IStyleRenderer
[read-only] Gets the renderer implementation that has been supplied to this instance upon creation.
TemplateStyle
 InheritedstyleTag : Object
A user tag which is associated with that style instance.
TemplateStyle
 InheritedtemplateClass : Class
[read-only] The template class which is used to render the item.
TemplateStyle
 InheriteduserTagProvider : IUserTagProvider
The IUserTagProvider to retrieve user defined data which is associated with the model item.
TemplateStyle
Public Methods
 MethodDefined By
  
TemplateLabelStyle(templateClass:Class, dataPropertyName:String = dataObject, contextPropertyName:String = context, hideSelectionPaintable:Boolean = false, styleRenderer:TemplateLabelStyleRenderer = null)
TemplateLabelStyle
 Inherited
clone():Object
Creates a clone of this instance.
TemplateStyle
 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.
TemplateStyle
Protected Methods
 MethodDefined By
  
[override]
TemplateLabelStyle
Constructor Detail
TemplateLabelStyle()Constructor
public function TemplateLabelStyle(templateClass:Class, dataPropertyName:String = dataObject, contextPropertyName:String = context, hideSelectionPaintable:Boolean = false, styleRenderer:TemplateLabelStyleRenderer = null)



Parameters
templateClass:Class
 
dataPropertyName:String (default = dataObject)
 
contextPropertyName:String (default = context)
 
hideSelectionPaintable:Boolean (default = false)
 
styleRenderer:TemplateLabelStyleRenderer (default = null)
Method Detail
createClone()method
override protected function createClone():TemplateStyle

Returns
TemplateStyle