ca.sqlpower.architect.swingui.event
Class ItemSelectionEvent<T,C>

java.lang.Object
  extended by ca.sqlpower.architect.swingui.event.ItemSelectionEvent<T,C>

public class ItemSelectionEvent<T,C>
extends java.lang.Object


Constructor Summary
ItemSelectionEvent(ContainerPane<T,C> source, java.util.Set<C> items)
          Creates a new event object that holds information about the items in a container pane becoming selected or deselected.
 
Method Summary
 java.util.Set<C> getItems()
          Returns an unmodifiable set of the items that were selected or deselected.
 ContainerPane<T,C> getSource()
          Returns the container pane whose item selection state changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemSelectionEvent

public ItemSelectionEvent(ContainerPane<T,C> source,
                          java.util.Set<C> items)
Creates a new event object that holds information about the items in a container pane becoming selected or deselected.

Parameters:
source - the container pane whose item selection state changed.
items - the items that were selected or deselected.
Method Detail

getSource

public ContainerPane<T,C> getSource()
Returns the container pane whose item selection state changed.


getItems

public java.util.Set<C> getItems()
Returns an unmodifiable set of the items that were selected or deselected.



Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca