public class Shim extends Object
Modifier and Type | Field and Description |
---|---|
protected static Shim |
instance |
protected List<XElement> |
shims |
Modifier | Constructor and Description |
---|---|
protected |
Shim() |
Modifier and Type | Method and Description |
---|---|
void |
cover(boolean shimIframes)
Creates and covers the area with a Shim.
|
protected XElement |
createShim(Element element,
int left,
int top,
int width,
int height) |
static Shim |
get() |
void |
setStyleAttribute(String attr,
String value) |
protected void |
shim(<any> elements) |
void |
uncover()
Uncovers and removes the shim.
|
public static Shim get()
public void cover(boolean shimIframes)
shimIframes
- true if you want to cover only iframespublic void uncover()
protected XElement createShim(Element element, int left, int top, int width, int height)
protected void shim(<any> elements)
Copyright © 2020. All rights reserved.