unbbayes.draw.extension
Interface IPluginUShape


public interface IPluginUShape

A common interface for UShape objects loaded from plugin managers.

Author:
Shou Matsumoto

Method Summary
 UShape getUShape(Node node, UCanvas canvas)
          Obtains an UShape in order to draw a node within a canvas.
 

Method Detail

getUShape

UShape getUShape(Node node,
                 UCanvas canvas)
Obtains an UShape in order to draw a node within a canvas.

Parameters:
node - : a node to be drawn into canvas. Some informations such as position and width/height would be used.
canvas - : canvas where this shape will be painted.
Returns:
: a instance of UShape


Copyright © 2001-2010 University of Brasilia - UnB. All Rights Reserved.