List of usage examples for com.google.gwt.user.client.ui UIObject getElement
public Element getElement()
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setDisplay(UIObject obj, String display) { DOM.setStyleAttribute(obj.getElement(), "display", display); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setPadding(UIObject obj, int padding) { DOM.setStyleAttribute(obj.getElement(), "padding", padding + PIXELS); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setMargin(UIObject obj, String margin) { DOM.setStyleAttribute(obj.getElement(), "margin", margin); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setBorder(UIObject obj, String margin) { DOM.setStyleAttribute(obj.getElement(), "border", margin); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setPosition(UIObject obj, String position) { DOM.setStyleAttribute(obj.getElement(), "position", position); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setFloat(UIObject obj, String value) { DOM.setStyleAttribute(obj.getElement(), "float", value); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setLeft(UIObject obj, int left) { DOM.setStyleAttribute(obj.getElement(), "left", left + PIXELS); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setRight(UIObject obj, int right) { DOM.setStyleAttribute(obj.getElement(), "right", right + PIXELS); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setTop(UIObject obj, int top) { DOM.setStyleAttribute(obj.getElement(), "top", top + PIXELS); }
From source file:com.xclinical.mdr.client.util.Styles.java
License:Apache License
public static void setMaxWidth(UIObject obj, int width) { DOM.setStyleAttribute(obj.getElement(), "maxWidth", width + PIXELS); }