Packagecom.yworks.graph.drawing.common
Classpublic class VoidPortStyleRenderer
InheritanceVoidPortStyleRenderer Inheritance AbstractVoidStyleRenderer Inheritance Object
Implements IPortStyleRenderer

A void implementation of a port style renderer that does nothing.

Use the shared static instance of this class instead of null where null is not allowed. For example you cannot assign null to the styleRenderer property of an IPortStyle.



Public Properties
 PropertyDefined By
  instance : VoidPortStyleRenderer
[static] [read-only] The static shared instance.
VoidPortStyleRenderer
Public Methods
 MethodDefined By
 Inherited
Returns BoundsProvider.EMPTY, which always returns empty bounds.
AbstractVoidStyleRenderer
 Inherited
Returns com.yworks.support.Lookups#EMPTY.
AbstractVoidStyleRenderer
 Inherited
Returns VoidDisplayObjectCreator.instance, which won't draw anything.
AbstractVoidStyleRenderer
 Inherited
Returns HitTestables.getNever().
AbstractVoidStyleRenderer
 Inherited
Returns MarqueeTestable.never
AbstractVoidStyleRenderer
Property Detail
instanceproperty
instance:VoidPortStyleRenderer  [read-only]

The static shared instance.


Implementation
    public static function get instance():VoidPortStyleRenderer