echopointng.ui.util
Class LayoutStrut
java.lang.Object
echopointng.ui.util.LayoutStrut
public class LayoutStrut
- extends java.lang.Object
LayoutStrut can be used to generate transparent spacing between Elements.
|
Method Summary |
static org.w3c.dom.Element |
createStrut(RenderContext rc,
Extent width,
Extent height)
Creates a strut spacing with the specified width and height. |
static org.w3c.dom.Element |
createStrut(RenderContext rc,
int width,
int height)
Creates a strut spacing with the specified width and height. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PIXEL_SERVICE
public static final Service PIXEL_SERVICE
- A transparent 1x1 GIF as a service
LayoutStrut
public LayoutStrut()
createStrut
public static org.w3c.dom.Element createStrut(RenderContext rc,
int width,
int height)
- Creates a strut spacing with the specified width and height.
- Parameters:
rc - - the RenderContext in questionwidth - - the spacing width in pixelsheight - - the spacing height in pixels
- Returns:
- an transparent IMG element sized according
createStrut
public static org.w3c.dom.Element createStrut(RenderContext rc,
Extent width,
Extent height)
- Creates a strut spacing with the specified width and height.
- Parameters:
rc - - the RenderContext in questionwidth - - the spacing widthheight - - the spacing height
- Returns:
- an transparent IMG element sized according