Java Code Examples for com.google.gwt.dom.client.Style.getLeft()

The following are Jave code examples for showing how to use getLeft() of the com.google.gwt.dom.client.Style class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: appformer   File: WorkbenchLayoutImpl.java   Source Code and License Vote up 5 votes
public OriginalStyleInfo(final Widget w) {
    absoluteLeft = w.getAbsoluteLeft();
    absoluteTop = w.getAbsoluteTop();
    clientHeight = w.getElement().getClientHeight();
    clientWidth = w.getElement().getClientWidth();

    final Style style = w.getElement().getStyle();
    position = style.getPosition();
    top = style.getTop();
    left = style.getLeft();
    width = style.getWidth();
    height = style.getHeight();
    zIndex = style.getZIndex();
}