Search this API

y.view
Interface GenericNodeRealizer.LayerHandler

Enclosing class:
GenericNodeRealizer

public static interface GenericNodeRealizer.LayerHandler

This interface is used by GenericNodeRealizer to delegate the work of the GenericNodeRealizer.getLayer() and the GenericNodeRealizer.setLayer(byte) 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
 byte getLayer(NodeRealizer context)
          Returns the logical graphical layer for this realizer.
 void setLayer(NodeRealizer context, byte l)
          Sets the logical graphical layer for this realizer.
 

Method Detail

getLayer

byte getLayer(NodeRealizer context)
Returns the logical graphical layer for this realizer. Layer information can be used by viewers to optimize redraws.

See Also:
Graph2DView.FG_LAYER, Graph2DView.BG_LAYER

setLayer

void setLayer(NodeRealizer context,
              byte l)
Sets the logical graphical layer for this realizer. Layer information can be used by viewers to optimize redraws.

See Also:
Graph2DView.FG_LAYER, Graph2DView.BG_LAYER

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