ICY Version 1.0.1.0
Public Member Functions | Package Functions

icy.roi.ROI2DArea.ROI2DAreaPainter Class Reference

Inheritance diagram for icy.roi.ROI2DArea.ROI2DAreaPainter:
icy.roi.ROI2D.ROI2DPainter icy.roi.ROI.ROIPainter icy.painter.AbstractPainter icy.painter.PainterAdaptater icy.common.IcyChangedListener icy.painter.Painter

List of all members.

Public Member Functions

Point2D getCursorPosition ()
void setCursorPosition (Point2D position)
float getCursorSize ()
void setCursorSize (float value)
float getAlphaLevel ()
void setAlphaLevel (float value)
Color getCursorColor ()
void setCursorColor (Color value)
void addToMask (Point2D pos)
void removeFromMask (Point2D pos)
void onChanged (EventHierarchicalChecker object)
void keyPressed (KeyEvent e, Point2D imagePoint, IcyCanvas canvas)
void mousePressed (MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
void mouseReleased (MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
void mouseDrag (MouseEvent e, Point2D imagePoint, IcyCanvas canvas)
void paint (Graphics2D g, Sequence sequence, IcyCanvas canvas)

Package Functions

void updateCursor ()

Member Function Documentation

float icy.roi.ROI2DArea.ROI2DAreaPainter.getAlphaLevel ( )
Returns:
the alphaLevel
Color icy.roi.ROI2DArea.ROI2DAreaPainter.getCursorColor ( )
Returns:
the cursorColor
Point2D icy.roi.ROI2DArea.ROI2DAreaPainter.getCursorPosition ( )
Returns:
the cursor position
float icy.roi.ROI2DArea.ROI2DAreaPainter.getCursorSize ( )
Returns:
the cursorSize
void icy.roi.ROI2DArea.ROI2DAreaPainter.keyPressed ( KeyEvent  e,
Point2D  imagePoint,
IcyCanvas  canvas 
)
Parameters:
ekey event
imagePointmouse position in image coordinates
canvasicy canvas

Reimplemented from icy.roi.ROI2D.ROI2DPainter.

void icy.roi.ROI2DArea.ROI2DAreaPainter.mouseDrag ( MouseEvent  e,
Point2D  imagePoint,
IcyCanvas  canvas 
)
Parameters:
emouse event
imagePointmouse position in image coordinates
canvasicy canvas

Reimplemented from icy.roi.ROI2D.ROI2DPainter.

void icy.roi.ROI2DArea.ROI2DAreaPainter.mousePressed ( MouseEvent  e,
Point2D  imagePoint,
IcyCanvas  canvas 
)
Parameters:
emouse event
imagePointmouse position in image coordinates
canvasicy canvas

Reimplemented from icy.roi.ROI2D.ROI2DPainter.

void icy.roi.ROI2DArea.ROI2DAreaPainter.mouseReleased ( MouseEvent  e,
Point2D  imagePoint,
IcyCanvas  canvas 
)
Parameters:
emouse event
imagePointmouse position in image coordinates
canvasicy canvas

Reimplemented from icy.painter.PainterAdaptater.

void icy.roi.ROI2DArea.ROI2DAreaPainter.onChanged ( EventHierarchicalChecker  object)

fire changed event

Reimplemented from icy.painter.AbstractPainter.

void icy.roi.ROI2DArea.ROI2DAreaPainter.paint ( Graphics2D  g,
Sequence  sequence,
IcyCanvas  canvas 
)

paint method called to draw the painter

Reimplemented from icy.painter.PainterAdaptater.

void icy.roi.ROI2DArea.ROI2DAreaPainter.setAlphaLevel ( float  value)
Parameters:
valuethe alphaLevel to set
void icy.roi.ROI2DArea.ROI2DAreaPainter.setCursorColor ( Color  value)
Parameters:
valuethe cursorColor to set
void icy.roi.ROI2DArea.ROI2DAreaPainter.setCursorPosition ( Point2D  position)
Parameters:
positionthe cursor position to set
void icy.roi.ROI2DArea.ROI2DAreaPainter.setCursorSize ( float  value)
Parameters:
valuethe cursorSize to set

The documentation for this class was generated from the following file:
 All Classes Functions Variables