org.esa.beam.framework.draw
Interface FigureHandle

All Superinterfaces:
Drawable

Deprecated. since BEAM 4.7, no replacement

@Deprecated
public interface FigureHandle
extends Drawable

A handle of a figure. Handles are used to move, rescale or rotate figures in a drawing.

Version:
$Revision$ $Date$
Author:
Norman Fomferra

Field Summary
static int HANDLESIZE
          Deprecated.  
 
Method Summary
 boolean containsPoint(int x, int y)
          Deprecated. Tests if a point is contained in the handle.
 Rectangle2D getBounds()
          Deprecated. Gets the display box of the handle.
 Point2D getCenterPoint()
          Deprecated. Locates the handle on the figure.
 Figure getOwner()
          Deprecated. Gets the handle's owner.
 void invokeEnd(int x, int y, int anchorX, int anchorY)
          Deprecated. Tracks the end of the interaction.
 void invokeStep(int x, int y, int anchorX, int anchorY)
          Deprecated. Tracks a step of the interaction.
 
Methods inherited from interface org.esa.beam.framework.draw.Drawable
draw
 

Field Detail

HANDLESIZE

static final int HANDLESIZE
Deprecated. 
See Also:
Constant Field Values
Method Detail

getCenterPoint

Point2D getCenterPoint()
Deprecated. 
Locates the handle on the figure. The handle is drawn centered around the returned point.


getBounds

Rectangle2D getBounds()
Deprecated. 
Gets the display box of the handle.


invokeStep

void invokeStep(int x,
                int y,
                int anchorX,
                int anchorY)
Deprecated. 
Tracks a step of the interaction.

Parameters:
x - the current x position
y - the current y position
anchorX - the x position where the interaction started
anchorY - the y position where the interaction started

invokeEnd

void invokeEnd(int x,
               int y,
               int anchorX,
               int anchorY)
Deprecated. 
Tracks the end of the interaction.

Parameters:
x - the current x position
y - the current y position
anchorX - the x position where the interaction started
anchorY - the y position where the interaction started

getOwner

Figure getOwner()
Deprecated. 
Gets the handle's owner.


containsPoint

boolean containsPoint(int x,
                      int y)
Deprecated. 
Tests if a point is contained in the handle.



Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.