FreeHEP API
Version current

org.freehep.swing.graphics
Class RegionSelectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.freehep.swing.graphics.GraphicalSelectionEvent
          extended byorg.freehep.swing.graphics.RegionSelectionEvent
All Implemented Interfaces:
Serializable

public class RegionSelectionEvent
extends GraphicalSelectionEvent

Instances of this class are created when the user graphically selects a region 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: RegionSelectionEvent.java,v 1.4 2001/04/03 10:25:37 loomis Exp $
Author:
Charles Loomis
See Also:
Serialized Form
Source Code:
RegionSelectionEvent.java

Field Summary
 
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
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RegionSelectionEvent(Object source, int actionCode, Polygon selection, AffineTransform transform)
          The constructor requires the source object, the selection type, and the actual selection.
 
Methods inherited from class org.freehep.swing.graphics.GraphicalSelectionEvent
getActionCode, getSelection, getTransform
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RegionSelectionEvent

public RegionSelectionEvent(Object source,
                            int actionCode,
                            Polygon selection,
                            AffineTransform transform)
The constructor requires the source object, the selection type, and the actual selection.

Parameters:
source - the Object which generates this event
selection - a Polygon describing the outline of the region
transform - an AffineTransform appropriate for zooming into the selected region

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.