![JAR search and dependency download from the Maven repository](/logo.png)
com.extjs.gxt.ui.client.event.CheckChangedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007, 2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.event;
import java.util.List;
import com.extjs.gxt.ui.client.data.ModelData;
import com.extjs.gxt.ui.client.util.Util;
/**
* Check change event type.
*
* @param the data type
*/
public class CheckChangedEvent extends BaseEvent {
private CheckProvider provider;
private List selection;
/**
* Creates a new selection event.
*
* @param provider the selection provider
* @param selection the selection
*/
public CheckChangedEvent(CheckProvider provider, M selection) {
this.provider = provider;
this.selection = Util.createList(selection);
}
/**
* Creates a new selection event.
*
* @param provider the selection provider
* @param selection the selection
*/
public CheckChangedEvent(CheckProvider provider, List selection) {
this.provider = provider;
this.selection = selection;
}
/**
* Returns the checked selection.
*
* @return the checked selection
*/
public List getCheckedSelection() {
return selection;
}
/**
* Returns the selection provider.
*
* @return the provider
*/
public CheckProvider getCheckProvider() {
return provider;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy