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

VisCanvas Class Reference

Inheritance diagram for VisCanvas::

IcsCanvas List of all members.

Public Methods

 VisCanvas ()
 VisCanvas (Dimension d)
 VisCanvas (Dimension d, boolean fixedSize)
 Dimension in ICS. More...

void setCanvasInspectionUser (CanvasInspectionUser user)
void paintComponent (Graphics g)
void clear ()
 Clear the canvas, i.e. More...

void zoom (double zoomVal)
 Zoom to the given value. More...

int addObject (CanvasObject obj)
CanvasObject getObject (String name)
void removeObject (String name)
void removeAllObjects ()
void handleMousePress (MouseEvent e)
 Overloading of IcsCanvas interface. More...

void handleMouseEnter (MouseEvent e)
 Overloading of IcsCanvas interface. More...

void handleMouseExit (MouseEvent e)
 Overloading of IcsCanvas interface. More...

void handleMouseMove (MouseEvent e)
 Overloading of IcsCanvas interface. More...

void actionPerformed (ActionEvent event)
 Implementation of ActionListener. More...

void handleJavaFuncDialogOK (Object target, CallableMethod method, Object[] argVals)

Constructor & Destructor Documentation

VisCanvas::VisCanvas (    )  [inline]
 

VisCanvas::VisCanvas (  Dimension    d )  [inline]
 

VisCanvas::VisCanvas (  Dimension    d,
boolean    fixedSize
)  [inline]
 

Dimension in ICS.


Member Function Documentation

void VisCanvas::setCanvasInspectionUser (  CanvasInspectionUser    user )  [inline]
 

void VisCanvas::paintComponent (  Graphics    g )  [inline]
 

void VisCanvas::clear (    )  [inline]
 

Clear the canvas, i.e.

remove all objects from the canvas and draw the background color on the entire canvas.

void VisCanvas::zoom (  double    zoomVal )  [inline]
 

Zoom to the given value.

Will adjust the canvas size by setting the CCS extent.

Reimplemented from IcsCanvas.

int VisCanvas::addObject (  CanvasObject    obj )  [inline]
 

CanvasObject VisCanvas::getObject (  String    name )  [inline]
 

void VisCanvas::removeObject (  String    name )  [inline]
 

void VisCanvas::removeAllObjects (    )  [inline]
 

void VisCanvas::handleMousePress (  MouseEvent    e )  [inline]
 

Overloading of IcsCanvas interface.

Reimplemented from IcsCanvas.

void VisCanvas::handleMouseEnter (  MouseEvent    e )  [inline]
 

Overloading of IcsCanvas interface.

Reimplemented from IcsCanvas.

void VisCanvas::handleMouseExit (  MouseEvent    e )  [inline]
 

Overloading of IcsCanvas interface.

Reimplemented from IcsCanvas.

void VisCanvas::handleMouseMove (  MouseEvent    e )  [inline]
 

Overloading of IcsCanvas interface.

Reimplemented from IcsCanvas.

void VisCanvas::actionPerformed (  ActionEvent    event )  [inline]
 

Implementation of ActionListener.

Called when an item from the popup menu has been selected.

void VisCanvas::handleJavaFuncDialogOK (  Object    target,
CallableMethod    method,
Object    argVals[]
)  [inline]
 


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