com.extjs.gxt.ui.client.widget.form.SimpleComboValue 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
/*
* Sencha GXT 2.3.1a - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.widget.form;
import com.extjs.gxt.ui.client.data.BaseModelData;
/**
* A ModelData
instance used in a SimpleComboBox
.
*
* @param the data type
*/
public class SimpleComboValue extends BaseModelData {
protected SimpleComboValue() {
}
protected SimpleComboValue(T value) {
setValue(value);
}
/**
* Returns the value.
*
* @return the value
*/
@SuppressWarnings("unchecked")
public T getValue() {
return (T) get("value");
}
/**
* Sets the value.
*
* @param value the value
*/
public void setValue(T value) {
set("value", value);
}
}