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

PixelEditor Class Reference

An editor for inspection and modification of individual pixel values of a CanvasJavaImage. More...

List of all members.

Public Methods

 PixelEditor ()
 Constructor. More...

 PixelEditor (int width, int height)
 Constructor. More...

void updatePixels (CanvasViewer viewer, CanvasObject obj, int x, int y)
void refreshPixels ()
void doClear ()


Detailed Description

An editor for inspection and modification of individual pixel values of a CanvasJavaImage.

The pixels of a CanvasHxImage can be inspected but not modified (at this moment ...).

The usage scenario is as follows: 1) the "user" (application) start a PixelEditor and calls updatePixels whenever a new location in a (new) image has to be displayed 2) when the user edits a pixel value in the table the pixel editor will update the CanvasImage and call _viewer.doRefresh


Constructor & Destructor Documentation

PixelEditor::PixelEditor   [inline]
 

Constructor.

PixelEditor::PixelEditor int    width,
int    height
[inline]
 

Constructor.


Member Function Documentation

void PixelEditor::updatePixels CanvasViewer    viewer,
CanvasObject    obj,
int    x,
int    y
[inline]
 

void PixelEditor::refreshPixels   [inline]
 

void PixelEditor::doClear   [inline]
 


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