JHotDraw 7.1

org.jhotdraw.draw
Class FigureSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.jhotdraw.draw.FigureSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class FigureSelectionEvent
extends java.util.EventObject

FigureSelectionEvent.

Version:
2.0 2007-05-14 Added getters for newValue and oldValue.
1.0 2003-12-01 Derived from JHotDraw 5.4b1.
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
FigureSelectionEvent(DrawingView source, java.util.Set<Figure> oldValue, java.util.Set<Figure> newValue)
          Creates a new instance.
 
Method Summary
 java.util.Set<Figure> getNewSelection()
           
 java.util.Set<Figure> getOldSelection()
           
 DrawingView getView()
           
 
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

FigureSelectionEvent

public FigureSelectionEvent(DrawingView source,
                            java.util.Set<Figure> oldValue,
                            java.util.Set<Figure> newValue)
Creates a new instance.

Method Detail

getView

public DrawingView getView()

getOldSelection

public java.util.Set<Figure> getOldSelection()

getNewSelection

public java.util.Set<Figure> getNewSelection()

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.