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
  
[override]
FilterNodeStyleRenderer
 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
  
updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObject
[override]
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
 Inherited
updateLayout(obj:DisplayObject, context:IDisplayObjectContext):void
Updates the layout (size and coordinates) of the given display object.
DelegatingStyleRenderer
Method Detail
createDisplayObject()method
override public function createDisplayObject(context:IDisplayObjectContext):DisplayObject

Parameters

context:IDisplayObjectContext

Returns
DisplayObject
createSerializer()method 
override protected function createSerializer():ISerializer

Returns FilterNodeStyleSerializer.instance.

Returns
ISerializerFilterNodeStyleSerializer.instance.
updateDisplayObject()method 
override public function updateDisplayObject(oldDisplayObject:DisplayObject, context:IDisplayObjectContext):DisplayObject

Parameters

oldDisplayObject:DisplayObject
 
context:IDisplayObjectContext

Returns
DisplayObject