|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.extjs.gxt.ui.client.core.XDOM
public final class XDOM
Provides additional static methods that allow you to manipulate the browser's Document Object Model (DOM).
DOM
Method Summary | |
---|---|
static com.google.gwt.user.client.Element |
create(java.lang.String html)
Creates an element form the given markup. |
static java.lang.String |
getAutoIdPrefix()
Returns the auto id prefix. |
static com.google.gwt.user.client.Element |
getBody()
Returns the body element. |
static El |
getBodyEl()
Returns the body El. |
static int |
getBodyScrollLeft()
Returns the body elements horizontal scroll. |
static int |
getBodyScrollTop()
Return the body elements vertical scroll. |
static java.lang.String |
getComputedStyle(com.google.gwt.user.client.Element e,
java.lang.String style)
Returns the element's computed style. |
static com.google.gwt.user.client.Element |
getDocument()
Returns the document element. |
static int |
getDocumentHeight()
Returns the document's height. |
static int |
getDocumentWidth()
Returns the document width. |
static com.google.gwt.user.client.Element |
getElementById(java.lang.String id)
Returns the element with the unique id. |
static com.google.gwt.user.client.Element |
getHead()
Returns the HTML head element. |
static int |
getScrollBarWidth()
Returns the width of the scroll bar. |
static int |
getTopZIndex()
Increments and returns the top z-index value. |
static int |
getTopZIndex(int i)
Increments and returns the top z-index value. |
static java.lang.String |
getUniqueId()
Returns an unique id. |
static int |
getViewHeight(boolean full)
Returns the view height. |
static int |
getViewportHeight()
Returns the viewport height. |
static Size |
getViewportSize()
Returns the viewports size. |
static int |
getViewportWidth()
Returns the viewport width. |
static int |
getViewWidth(boolean full)
Returns the view width. |
static void |
reload()
Reloads the page. |
static void |
setAutoIdPrefix(java.lang.String autoIdPrefix)
Sets the auto id prefix which is prepended to the auto id counter when generating auto ids (defaults to 'x-auto'). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static com.google.gwt.user.client.Element create(java.lang.String html)
html
- the markup
public static java.lang.String getAutoIdPrefix()
public static com.google.gwt.user.client.Element getBody()
public static El getBodyEl()
public static int getBodyScrollLeft()
public static int getBodyScrollTop()
public static java.lang.String getComputedStyle(com.google.gwt.user.client.Element e, java.lang.String style)
e
- the elementstyle
- the style name
public static com.google.gwt.user.client.Element getDocument()
public static int getDocumentHeight()
public static int getDocumentWidth()
public static com.google.gwt.user.client.Element getElementById(java.lang.String id)
id
- the id
public static com.google.gwt.user.client.Element getHead()
public static int getScrollBarWidth()
public static int getTopZIndex()
public static int getTopZIndex(int i)
i
- the increment amount
public static java.lang.String getUniqueId()
public static int getViewHeight(boolean full)
full
- true to return the document height, false for viewport height
public static int getViewportHeight()
public static Size getViewportSize()
public static int getViewportWidth()
public static int getViewWidth(boolean full)
full
- true to return the document width, false for viewport width
public static void reload()
public static void setAutoIdPrefix(java.lang.String autoIdPrefix)
autoIdPrefix
- the auto id prefix
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |