org.graffiti.selection
Class SelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.graffiti.event.AbstractEvent
          extended by org.graffiti.selection.SelectionEvent
All Implemented Interfaces:
Serializable

public class SelectionEvent
extends AbstractEvent

DOCUMENT ME!

Version:
$Revision: 5767 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SelectionEvent(Selection selection)
          Constructs a new SelectionEvent.
 
Method Summary
 Selection getSelection()
          Returns the selection contained in the event.
 void setAdded(boolean added)
          Sets the added.
 boolean toBeAdded()
          Returns the added.
 
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

SelectionEvent

public SelectionEvent(Selection selection)
Constructs a new SelectionEvent.

Parameters:
selection - the (new / updated) selection.
Method Detail

setAdded

public void setAdded(boolean added)
Sets the added.

Parameters:
added - The added to set

getSelection

public Selection getSelection()
Returns the selection contained in the event.

Returns:
the selection contained in the event.

toBeAdded

public boolean toBeAdded()
Returns the added.

Returns:
boolean


Generated at 2012-05-30 11:00:36 PM CEST