cn.mapway.document.ui.client.component.CustomButton Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapway-doc-ui Show documentation
Show all versions of mapway-doc-ui Show documentation
auto gen doc from api with ui
package cn.mapway.document.ui.client.component;
import com.google.gwt.user.client.ui.Button;
import cn.mapway.document.ui.client.resource.SysResource;
// TODO: Auto-generated Javadoc
/**
* The Class CustomButton.
*/
public class CustomButton extends Button {
/** The data. */
private Object data;
/**
* Instantiates a new custom button.
*/
public CustomButton() {
this("");
}
/**
* Instantiates a new custom button.
*
* @param summary the summary
*/
public CustomButton(String summary) {
super(summary);
this.setStyleName(SysResource.INSTANCE.getCss().btn());
}
/**
* Gets the data.
*
* @return the data
*/
public Object getData() {
return data;
}
/**
* Sets the data.
*
* @param data the new data
*/
public void setData(Object data) {
this.data = data;
}
}