Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

CanvasCorbaBlob2d Class Reference

Inheritance diagram for CanvasCorbaBlob2d::

CanvasFigure CanvasObject List of all members.

Public Methods

 CanvasCorbaBlob2d (HxCorba.Blob2d blob)
 Constructor. More...

void draw (Graphics g)
 Implements CanvasObject "interface". More...

HxCorba.Blob2d getStub ()
void setColor (Color color)
 Override CanvasFigure interface to update the color of the mask. More...

void setTransparency (float trans)
 Override CanvasFigure interface to update the transparency of the mask. More...

void setShowMask (boolean b)
void setShowChain (boolean b)
Vector getVisualChangeMethods ()
 Overrides CanvasObject interface. More...


Protected Methods

Shape getShape ()
 Derived classes have to implement this method to supply the shape that represents the CanvasFigures. More...

boolean hitOnStroke ()
 Derived classes have to implement this method to indicate whether they are selected (hit) based on their stroke (border) or on their interior. More...


Constructor & Destructor Documentation

CanvasCorbaBlob2d::CanvasCorbaBlob2d HxCorba.Blob2d    blob [inline]
 

Constructor.


Member Function Documentation

void CanvasCorbaBlob2d::draw Graphics    g [inline, virtual]
 

Implements CanvasObject "interface".

Reimplemented from CanvasFigure.

HxCorba.Blob2d CanvasCorbaBlob2d::getStub   [inline]
 

void CanvasCorbaBlob2d::setColor Color    color [inline]
 

Override CanvasFigure interface to update the color of the mask.

The color of the chain is set to the inverted color.

Reimplemented from CanvasFigure.

void CanvasCorbaBlob2d::setTransparency float    trans [inline]
 

Override CanvasFigure interface to update the transparency of the mask.

Reimplemented from CanvasFigure.

void CanvasCorbaBlob2d::setShowMask boolean    b [inline]
 

void CanvasCorbaBlob2d::setShowChain boolean    b [inline]
 

Vector CanvasCorbaBlob2d::getVisualChangeMethods   [inline]
 

Overrides CanvasObject interface.

Extends the list of callable functions obtained from the parent with the functions for this class.

Reimplemented from CanvasFigure.

Shape CanvasCorbaBlob2d::getShape   [inline, protected, virtual]
 

Derived classes have to implement this method to supply the shape that represents the CanvasFigures.

It is used to draw to figure as well as determine which figure is selected (hit) by the cursor within a canvas.

Reimplemented from CanvasFigure.

boolean CanvasCorbaBlob2d::hitOnStroke   [inline, protected, virtual]
 

Derived classes have to implement this method to indicate whether they are selected (hit) based on their stroke (border) or on their interior.

Reimplemented from CanvasFigure.


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 14:14:21 2002 for JavaReference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001