|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.crucible.old.layout.LayoutArea org.umber.crucible.old.layout.LayoutPadding
A block of whitespace used to create flexible padding between other areas. Layout areas must always be connected edge to edge, so padding is the only way to put non-Insert spacing between areas.
Constructor Summary | |
LayoutPadding(AreaStyle style)
Creates a new instance of LayoutPadding with the given AreaStyle. |
Method Summary | |
static LayoutPadding |
createPadding(int width,
int height)
Creates a new instance of LayoutPadding with the given preferred size. |
static LayoutPadding |
createPadding(int width,
int height,
int smallestWidth,
int smallestHeight)
Creates a new instance of LayoutPadding with the given preferred size. |
boolean |
isRenderable()
Determines if this area has renderable content. |
java.lang.String |
toString()
Converts the area object into String form. |
Methods inherited from class org.umber.crucible.old.layout.LayoutArea |
addChildren, addChildren, canBreakAt, getChildren, getChildren, getExtents, getHeight, getHint, getRenderableExtents, getStyle, getWidth, getX, getY, isBreakable, setChildren, setChildren, setExtents, setHeight, setHint, setWidth, setX, setY |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LayoutPadding(AreaStyle style)
style
- the style constraints for the areaMethod Detail |
public static LayoutPadding createPadding(int width, int height)
width
- the preferred widthheight
- the preferred height
public static LayoutPadding createPadding(int width, int height, int smallestWidth, int smallestHeight)
width
- the preferred widthheight
- the preferred heightsmallestWidth
- the smallest possible widthsmallestHeight
- the smallest possible height
public boolean isRenderable()
isRenderable
in class LayoutArea
public java.lang.String toString()
toString
in class LayoutArea
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |