Package swingtree

Enum Class UI.ComponentBoundary

java.lang.Object
java.lang.Enum<UI.ComponentBoundary>
swingtree.UI.ComponentBoundary
All Implemented Interfaces:
Serializable, Comparable<UI.ComponentBoundary>, Constable, UIEnum<UI.ComponentBoundary>
Enclosing class:
UI

@Immutable public static enum UI.ComponentBoundary extends Enum<UI.ComponentBoundary> implements UIEnum<UI.ComponentBoundary>
Names one of the infinitely thin lines at which the box model (margin|border|padding) of a styled component steps from one layer into the next, whereas a UI.ComponentArea names a whole region lying between two such lines. A style can anchor a gradient to a boundary through GradientConf.boundary(ComponentBoundary), and place an image or a text against one through ImageConf.placementBoundary(ComponentBoundary).
Here's a brief explanation of each enum entry: OUTER_TO_EXTERIOR, EXTERIOR_TO_BORDER and BORDER_TO_INTERIOR each wrap a whole UI.ComponentArea, which wrappedArea() returns. The other two lie inside the interior and wrap no named area.
See Also: