org.scijava.object.event
Class ListEvent<T>

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.event.SciJavaEvent
          extended by org.scijava.object.event.ListEvent<T>
All Implemented Interfaces:
Contextual
Direct Known Subclasses:
MenuEvent, ModulesListEvent, ObjectsListEvent, PluginsListEvent

public abstract class ListEvent<T>
extends SciJavaEvent

An event indicating something has happened to a list of items.

Author:
Curtis Rueden

Constructor Summary
ListEvent(Collection<? extends T> c)
           
ListEvent(T o)
           
 
Method Summary
 List<T> getItems()
          Gets the list of affected items.
 String toString()
           
 
Methods inherited from class org.scijava.event.SciJavaEvent
consume, isConsumed, setConsumed
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListEvent

public ListEvent(T o)

ListEvent

public ListEvent(Collection<? extends T> c)
Method Detail

getItems

public List<T> getItems()
Gets the list of affected items.


toString

public String toString()
Overrides:
toString in class SciJavaEvent


Copyright © 2009–2014 SciJava. All rights reserved.