org.freehep.swing.graphics
Class PointSelectionEvent
java.lang.Object
java.util.EventObject
org.freehep.swing.graphics.GraphicalSelectionEvent
org.freehep.swing.graphics.PointSelectionEvent
- All Implemented Interfaces:
- Serializable
- public class PointSelectionEvent
- extends GraphicalSelectionEvent
Instances of this class are created when the user graphically
selects a point on the screen. This event gives the object which
generated this event, as well as a polygon describing the outline
of the region and an AffineTransform which can be used to zoom into
the selected region.
- Version:
- $Id: PointSelectionEvent.java,v 1.4 2001/04/03 10:25:37 loomis Exp $
- Author:
- Charles Loomis
- See Also:
- Serialized Form
- Source Code:
- PointSelectionEvent.java
Fields inherited from class org.freehep.swing.graphics.GraphicalSelectionEvent |
actionCode, DEFAULT_MODE, NEXT_MODE, NO_ACTION, PICK, PICK_ADD, PREVIOUS_MODE, selection, UNPICK, ZOOM, ZOOM_NEW_VIEW |
PointSelectionEvent
public PointSelectionEvent(Object source,
int actionCode,
Point selection,
AffineTransform transform)
- The constructor requires the source object and the actual
point selected. The transform should be the one which will
center the display on this point if applied.
- Parameters:
source
- the Object generating this eventselection
- the Point which is selectedtransform
- the AffineTransform which will center the
display on the selected point
Copyright © 2000-2004 FreeHEP, All Rights Reserved.