Example usage for com.google.gwt.user.client.ui UIObject getElement

List of usage examples for com.google.gwt.user.client.ui UIObject getElement

Introduction

In this page you can find the example usage for com.google.gwt.user.client.ui UIObject getElement.

Prototype

public Element getElement() 

Source Link

Document

Gets a handle to the object's underlying DOM element.

Usage

From source file:com.googlecode.gchart.client.GChart.java

License:Apache License

private static void setColor(UIObject uio, String cssColor) {
    DOM.setStyleAttribute(uio.getElement(), "color", cssColor);
}

From source file:com.googlecode.gchart.client.GChart.java

License:Apache License

private static void setPadding(UIObject uio, String cssPadding) {
    DOM.setStyleAttribute(uio.getElement(), "padding", cssPadding);
}

From source file:com.googlecode.gchart.client.GChart.java

License:Apache License

private static void setOverflow(UIObject uio, String cssOverflow) {
    DOM.setStyleAttribute(uio.getElement(), "overflow", cssOverflow);
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

public static void sendClickEvent(UIObject componentToClick) {
    fireClickEvent(componentToClick.getElement());
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

/**
 * requires Internet Explorer 5.5 or later.
 *//*  w ww.ja  v a 2  s .  c  o m*/
public static void sendDoubleClickEvent(UIObject componentToDoubleClick) {
    fireDoubleClickEvent(componentToDoubleClick.getElement());
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

/**
 * requires Internet Explorer 5.5 or later.
 *///from   ww w  . j a va 2s.  c o m
public static void sendMouseOverEvent(UIObject componentToMouseOver) {
    fireMouseOverEvent(componentToMouseOver.getElement());
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

/**
 * requires Internet Explorer 5.5 or later.
 *///from  w  w  w .ja  v a2 s.c  o  m
public static void sendFocusEvent(UIObject componentToFocus) {
    fireFocusEvent(componentToFocus.getElement());
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

/**
 * requires Internet Explorer 5.5 or later.
 */// www  .j  a  v  a2  s . c  o m
public static void sendChangeEvent(UIObject componentChanged) {
    fireChangeEvent(componentChanged.getElement());
}

From source file:com.gwtext.client.utils.EventUtils.java

License:Open Source License

/**
 * requires Internet Explorer 5.5 or later.
 *///from  w w w. j  a v a  2 s  .com
public static void sendEnterKeyPressEvent(UIObject componentToKeyPressOn) {
    fireEnterKeyPressEvent(componentToKeyPressOn.getElement());
}

From source file:com.gwtmodel.table.Utils.java

License:Apache License

public static void setName(UIObject o, String name) {
    o.getElement().setAttribute("name", name);

}