com.extjs.gxt.ui.client.event
Class CheckChangedEvent<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.event.BaseEvent
      extended by com.extjs.gxt.ui.client.event.CheckChangedEvent<M>
Type Parameters:
M - the data type

public class CheckChangedEvent<M extends ModelData>
extends BaseEvent

Check change event type.


Constructor Summary
CheckChangedEvent(CheckProvider<M> provider, java.util.List<M> selection)
          Creates a new selection event.
CheckChangedEvent(CheckProvider<M> provider, M selection)
          Creates a new selection event.
 
Method Summary
 java.util.List<M> getCheckedSelection()
          Returns the checked selection.
 CheckProvider<M> getCheckProvider()
          Returns the selection provider.
 
Methods inherited from class com.extjs.gxt.ui.client.event.BaseEvent
getSource, getType, isCancelled, setCancelled, setSource, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckChangedEvent

public CheckChangedEvent(CheckProvider<M> provider,
                         M selection)
Creates a new selection event.

Parameters:
provider - the selection provider
selection - the selection

CheckChangedEvent

public CheckChangedEvent(CheckProvider<M> provider,
                         java.util.List<M> selection)
Creates a new selection event.

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

getCheckedSelection

public java.util.List<M> getCheckedSelection()
Returns the checked selection.

Returns:
the checked selection

getCheckProvider

public CheckProvider<M> getCheckProvider()
Returns the selection provider.

Returns:
the provider