/*
* Ext GWT - Ext for GWT
* Copyright(c) 2007-2009, Ext JS, LLC.
* licensing@extjs.com
*
* http://extjs.com/license
*/
package com.extjs.gxt.ui.client.event;
import com.extjs.gxt.ui.client.widget.form.FieldSet;
import com.google.gwt.user.client.Event;
@SuppressWarnings("unchecked")
public class FieldSetEvent extends ContainerEvent {
private FieldSet fieldSet;
public FieldSetEvent(FieldSet fieldSet) {
super(fieldSet);
this.fieldSet = fieldSet;
}
public FieldSetEvent(FieldSet fieldSet, Event event) {
this(fieldSet);
this.event = event;
}
/**
* Returns the source field set.
*
* @return the field set
*/
public FieldSet getFieldSet() {
return fieldSet;
}
/**
* Sets the source field set.
*
* @param fieldSet the field set
*/
public void setFieldSet(FieldSet fieldSet) {
this.fieldSet = fieldSet;
}
}