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:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static void setAttribute(final UIObject uiObject, final String attribute,
        final Style.HasCssName value) {
    setAttribute(uiObject.getElement(), attribute, value == null ? null : value.getCssName());
}

From source file:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static <V> void setAttribute(final UIObject uiObject, final String attribute, final V value) {
    setAttribute(uiObject.getElement(), attribute, value);
}

From source file:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static void setAttribute(final UIObject parent, String child, String attribute, String value) {
    setAttribute(parent.getElement(), child, attribute, value);
}

From source file:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static void removeAttribute(final UIObject uiObject, final String attribute) {
    removeAttribute(uiObject.getElement(), attribute);
}

From source file:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static String getAttribute(final UIObject uiObject, final String attribute) {
    return getAttribute(uiObject.getElement(), attribute);
}

From source file:gwt.material.design.components.client.utils.helper.StyleHelper.java

License:Apache License

public final static boolean getAttributeAsBoolean(final UIObject uiObject, final String attribute) {
    return Boolean.valueOf(getAttribute(uiObject.getElement(), attribute));
}

From source file:gwt.material.design.components.client.utils.helper.UiHelper.java

License:Apache License

public static int getWidth(UIObject uiObject) {
    return getWidth(uiObject.getElement());
}

From source file:gwt.material.design.components.client.utils.helper.UiHelper.java

License:Apache License

public static int getHeight(UIObject uiObject) {
    return getHeight(uiObject.getElement());
}

From source file:gwt.material.design.jquery.client.api.JQuery.java

License:Apache License

@JsOverlay
@SuppressWarnings("unchecked")
public static <T extends UIObject> JQueryElement $(T uiObject, UIObject context) {
    return $(uiObject.getElement(), context.getElement());
}

From source file:gwtBlocks.client.PrintManager.java

License:Apache License

public static void printPreview(String[] styles, UIObject obj) {
    printPreview(styles, obj.getElement().getInnerHTML());
}