All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sk.seges.acris.theme.client.shadow.ShadowTextAreaComponent Maven / Gradle / Ivy

The newest version!
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;


@Generated(value = "sk.seges.acris.theme.pap.ThemeComponentProcessor")
public class ShadowTextAreaComponent extends Widget {

	@UiTemplate("ShadowTextArea.ui.xml")
	interface ShadowTextAreaUiBinder extends UiBinder {}

	@UiField(provided = false)
	Element textarea;

	Element parentElement;

	public ShadowTextAreaComponent() {
		ShadowTextAreaUiBinder uiBinder = GWT.create(ShadowTextAreaUiBinder.class);
		setElement(uiBinder.createAndBindUi(this));
		parentElement = textarea.getParentElement();
	}
	
	public com.google.gwt.user.client.Element getElement(String name) {
		if (name.equals("textarea")) {
			return textarea.cast();
		}
		return null;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy