sk.seges.acris.theme.client.shadow.ShadowCheckBoxComponent Maven / Gradle / Ivy
package sk.seges.acris.theme.client.shadow;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Element;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.uibinder.client.UiTemplate;
import com.google.gwt.user.client.ui.Widget;
import javax.annotation.Generated;
import sk.seges.acris.theme.client.shadow.resources.ShadowThemeResources;
@Generated(value = "sk.seges.acris.theme.pap.ThemeComponentProcessor")
public class ShadowCheckBoxComponent extends Widget {
@UiTemplate("ShadowCheckBox.ui.xml")
interface ShadowCheckBoxUiBinder extends UiBinder {}
@UiField(provided = false)
Element checkBox;
Element parentElement;
@UiField(provided = false)
ShadowThemeResources resources;
public ShadowCheckBoxComponent() {
ShadowCheckBoxUiBinder uiBinder = GWT.create(ShadowCheckBoxUiBinder.class);
setElement(uiBinder.createAndBindUi(this));
parentElement = checkBox.getParentElement();
}
public com.google.gwt.user.client.Element getElement(String name) {
if (name.equals("checkBox")) {
return checkBox.cast();
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy