com.extentech.ExtenXLS.eventui.event
Class SelectionChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by com.extentech.ExtenXLS.eventui.event.WorkBookModelEvent
          extended by com.extentech.ExtenXLS.eventui.event.SelectionChangedEvent
All Implemented Interfaces:
java.io.Serializable

public class SelectionChangedEvent
extends WorkBookModelEvent

Event sent by WorkBookModel when the selection has changed.

Author:
Sam Hanes
See Also:
SelectionChangedListener, Serialized Form

Constructor Summary
SelectionChangedEvent(WorkBookModel source, CellRangeRef old)
          Creates a new SelectionChangedEvent.
 
Method Summary
 CellRangeRef getOldSelection()
          Gets the range that was selected before the change.
 
Methods inherited from class com.extentech.ExtenXLS.eventui.event.WorkBookModelEvent
getModel
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SelectionChangedEvent

public SelectionChangedEvent(WorkBookModel source,
                             CellRangeRef old)
Creates a new SelectionChangedEvent.

Parameters:
source - the WorkBookModel sending the event
old - the previously selected range
Method Detail

getOldSelection

public CellRangeRef getOldSelection()
Gets the range that was selected before the change.



Copyright © 2011 Extentech Inc. All Rights Reserved.