Search this API

y.view
Interface GenericNodeRealizer.Painter

All Known Implementing Classes:
AbstractCustomNodePainter, BevelNodePainter, GeneralPathNodePainter, GroupNodePainter, ImageNodePainter, NodeCellRendererPainter, ShadowNodePainter, ShapeNodePainter, ShinyPlateNodePainter, TableNodePainter
Enclosing class:
GenericNodeRealizer

public static interface GenericNodeRealizer.Painter

This interface is used by GenericNodeRealizer to delegate the work of the painting methods to. Classes implementing this interface should query the given context NodeRealizer for the necessary information each time the methods are called since they will be shared instances for multiple GenericNodeRealizer instances.

 
Your browser does not support SVG content.

Method Summary
 void paint(NodeRealizer context, java.awt.Graphics2D graphics)
          Used as a callback for the GenericNodeRealizer.paint(Graphics2D) method.
 void paintSloppy(NodeRealizer context, java.awt.Graphics2D graphics)
          Used as a callback for the GenericNodeRealizer.paintSloppy(Graphics2D) method.
 

Method Detail

paint

void paint(NodeRealizer context,
           java.awt.Graphics2D graphics)
Used as a callback for the GenericNodeRealizer.paint(Graphics2D) method.


paintSloppy

void paintSloppy(NodeRealizer context,
                 java.awt.Graphics2D graphics)
Used as a callback for the GenericNodeRealizer.paintSloppy(Graphics2D) method.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.