Packagecom.yworks.graph.drawing
Classpublic class FilterNodeStyleRenderer
InheritanceFilterNodeStyleRenderer Inheritance DelegatingStyleRenderer Inheritance AbstractStyleRenderer Inheritance Object

This renderer can be used to render FilterNodeStyleWrapper.

It sets the style's filters before delegating to the wrapped node style renderer.



Public Properties
 PropertyDefined By
 Inheriteditem : IModelItem
[read-only] Gets the currently configured item.
AbstractStyleRenderer
 Inheritedstyle : IVisualStyle
[read-only] Gets the currently configured style.
AbstractStyleRenderer
 InheritedstyleDescriptor : ICanvasObjectDescriptor
[read-only] Gets the ICanvasObjectDescriptor to use for new installations.
AbstractStyleRenderer
Public Methods
 MethodDefined By
 Inherited
[override] This implementation delegates to the renderer of the wrapped style.
DelegatingStyleRenderer
 Inherited
Configures the style and item parameters, calls configure and returns this.
AbstractStyleRenderer
 Inherited
Configures the style and item parameters, does not call configure and returns this.
AbstractStyleRenderer
 Inherited
Gets an appropriate style descriptor for the given style.
DelegatingStyleRenderer
 Inherited
Configures the style and item parameters, calls configure and returns this.
AbstractStyleRenderer
 Inherited
Configures the style and item parameters, calls configure and returns this.
AbstractStyleRenderer
 Inherited
Configures the style and item parameters, calls configure and returns this.
AbstractStyleRenderer
 Inherited
Gets an implementation of the IPathGeometry interface that can handle the provided edge and its associated style.
DelegatingStyleRenderer
 Inherited
Calculates the ILabel.preferredSize of a given label using the associated style.
DelegatingStyleRenderer
 Inherited
Gets an implementation of the IShapeGeometry interface that can handle the provided node and its associated style.
DelegatingStyleRenderer
 Inherited
install(canvas:CanvasComponent, group:ICanvasObjectGroup, modelItem:IModelItem):Array
Installs the model in the canvas at the given group using the styleDescriptor.
AbstractStyleRenderer
 Inherited
isHit(x:Number, y:Number, ctx:ICanvasContext):Boolean
[override] This implementation delegates to the renderer of the wrapped style.
DelegatingStyleRenderer
 Inherited
[override] This implementation delegates to the renderer of the wrapped style.
DelegatingStyleRenderer
 Inherited
Calls configure and tests the item using the style for a visible intersection with the clip bounds.
AbstractStyleRenderer
 Inherited
lookup(type:Class):Object
[override] ILookup implementation of this style renderer.
DelegatingStyleRenderer
  
[override] This implementation delegates to the renderer of the wrapped style.
FilterNodeStyleRenderer
Protected Methods
 MethodDefined By
 Inherited
configure():void
[override] This implementation does nothing.
DelegatingStyleRenderer
  
[override] Returns FilterNodeStyleSerializer.instance.
FilterNodeStyleRenderer
 Inherited
Factory method for the StyleDescriptor property.
AbstractStyleRenderer
 Inherited
setItem(item:IModelItem):void
Called by the various descriptor getters to initialize the item.
AbstractStyleRenderer
 Inherited
Called by the various descriptor getters to initialize the style.
AbstractStyleRenderer
Method Detail
createSerializer()method
override protected function createSerializer():ISerializer

Returns FilterNodeStyleSerializer.instance.

Returns
ISerializerFilterNodeStyleSerializer.instance.
paint()method 
override public function paint(g:YGraphics, ctx:IPaintContext):void

This implementation delegates to the renderer of the wrapped style.

When subclassed, a call to super.paint(g, ctx) will paint the item using the wrapped renderer.

Performs the actual painting into the given graphics context.

Parameters

g:YGraphics — The graphics context to paint into
 
ctx:IPaintContext — Currently not used