org.graffiti.plugins.modes.advanced.nodeResize
Interface NodeResizer

All Known Implementing Classes:
CircleNodeResizer, EllipseNodeResizer, RectNodeResizer

public interface NodeResizer

Each implementor can resize nodes of some special type (for example rect nodes). When starting resizing, the NodeResizer is constructed. It then keeps track of the size of the node until resizing is finished.


Method Summary
 void updateNode(double minNodeSize, Point position)
          Updates the size of the node associated to this NodeResizer.
 

Method Detail

updateNode

void updateNode(double minNodeSize,
                Point position)
Updates the size of the node associated to this NodeResizer.

Parameters:
minNodeSize - the node may not get smaller than this value;
position - position given by input-event


Generated at 2012-05-30 11:01:25 PM CEST