com.extjs.gxt.ui.client.widget
Class Shim

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.Shim

public class Shim
extends java.lang.Object

An class that supports placing a shim over the client window, and optionally just over IFrames.

Used by Draggable, Resizable and SplitBar


Method Summary
 void cover(boolean shimIframes)
          Creates and covers the area with a Shim.
protected  El createShim(com.google.gwt.user.client.Element element, int left, int top, int width, int height)
           
static Shim get()
           
 void setStyleAttribute(java.lang.String attr, java.lang.String value)
           
protected  void shim(com.google.gwt.dom.client.NodeList<com.google.gwt.user.client.Element> elements)
           
 void uncover()
          Uncovers and removes the shim.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cover

public void cover(boolean shimIframes)
Creates and covers the area with a Shim. If shimIframes is true will only covers IFrames.

Parameters:
shimIframes - true if you want to cover only Iframes

get

public static Shim get()

setStyleAttribute

public void setStyleAttribute(java.lang.String attr,
                              java.lang.String value)

uncover

public void uncover()
Uncovers and removes the shim.


createShim

protected El createShim(com.google.gwt.user.client.Element element,
                        int left,
                        int top,
                        int width,
                        int height)

shim

protected void shim(com.google.gwt.dom.client.NodeList<com.google.gwt.user.client.Element> elements)