sk.uniba.euromath.editor.selections
Class DOMSelectionChangedEvent

java.lang.Object
  extended by java.util.EventObject
      extended by sk.uniba.euromath.editor.selections.DOMSelectionChangedEvent
All Implemented Interfaces:
Serializable

public class DOMSelectionChangedEvent
extends EventObject

XML selection changed event object. TODO GUI : this could contains only some update of previous selection e.g. some DOMInterval is add to selection, than the result of

Author:
Tomas Studva
See Also:
can be this update, Serialized Form

Field Summary
protected  sk.baka.ikslibs.interval.DOMIntervalSet selection
          The selection.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DOMSelectionChangedEvent(IDOMSelectionProvider source, sk.baka.ikslibs.interval.DOMIntervalSet selection)
          Creates a new event for the given source and selection.
 
Method Summary
 sk.baka.ikslibs.interval.DOMIntervalSet getDOMSelection()
          Returns the selection.
 IDOMSelectionProvider getSelectionProvider()
          Returns the selection provider that is the source of this event.
 IDOMSelectionProvider getSource()
           
 
Methods inherited from class java.util.EventObject
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

selection

protected sk.baka.ikslibs.interval.DOMIntervalSet selection
The selection.

Constructor Detail

DOMSelectionChangedEvent

public DOMSelectionChangedEvent(IDOMSelectionProvider source,
                                sk.baka.ikslibs.interval.DOMIntervalSet selection)
Creates a new event for the given source and selection.

Parameters:
source - the selection provider
selection - the selection
Method Detail

getDOMSelection

public sk.baka.ikslibs.interval.DOMIntervalSet getDOMSelection()
Returns the selection.

Returns:
the selection

getSelectionProvider

public IDOMSelectionProvider getSelectionProvider()
Returns the selection provider that is the source of this event.

Returns:
the originating selection provider

getSource

public IDOMSelectionProvider getSource()
Overrides:
getSource in class EventObject


Copyright © 2003-2006 null. All Rights Reserved.