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.
static Shim get()
           
 void setStyleAttribute(java.lang.String attr, java.lang.String value)
           
 void uncover()
          Uncovers and removes the shim.
 
Methods inherited from class java.lang.Object
equals, 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.