| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Predicate | |
| public static <T> Predicate | |
| public static String | |
| public static Stream | |
| public static String | boxDescription(Box box)
Null-safe box description including object id, layer, containing layer and impl class. |
| private static void | |
| public static String | |
| public static Stream | descendants(Box parent)
A stream of all descendant boxes not including InlineText or InlineBox objects. |
| public static List | |
| public static String | layerDescription(Layer layer)
Null-safe layer description including object id, toString and master box description. |
| public static String |
| LambdaUtil | back to summary |
|---|---|
| private LambdaUtil() | |
| alwaysFalse | back to summary |
|---|---|
| public static <T> Predicate | |
| alwaysTrue | back to summary |
|---|---|
| public static <T> Predicate | |
| ancestorDump | back to summary |
|---|---|
| public static String ancestorDump(Box bx) Ancestor dump to string including starting box and referenced layers. Debug only. | |
| ancestors | back to summary |
|---|---|
| public static Stream Null-safe way to look up the ancestor tree as a stream. Does not include starting box. Will return a empty stream if either bx or bx.getParent() is null. | |
| boxDescription | back to summary |
|---|---|
| public static String boxDescription(Box box) Null-safe box description including object id, layer, containing layer and impl class. Debug only. | |
| descendantDump | back to summary |
|---|---|
| private static void descendantDump(Box parent, int indent, List<LambdaUtil. | |
| descendantDump | back to summary |
|---|---|
| public static String descendantDump(Box root) Creates an indented dump of the box tree. Includes both the pre-layout inline-content and if layout has been run, the after layout structure. Debug only. | |
| descendants | back to summary |
|---|---|
| public static Stream A stream of all descendant boxes not including InlineText or InlineBox objects. This would usually only be called after layout is concluded as InlineBox objects are converted to one or more InlineLayoutBox during layout. Should be in breadth first order. | |
| descendantsList | back to summary |
|---|---|
| public static List See | |
| layerDescription | back to summary |
|---|---|
| public static String layerDescription(Layer layer) Null-safe layer description including object id, toString and master box description. Debug only. | |
| objectId | back to summary |
|---|---|
| public static String objectId(Object obj) Null-safe identity hash code. Debug only. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| indent | back to summary |
|---|---|
| pack-priv final int indent | |
| object | back to summary |
|---|---|
| pack-priv final Object object | |
| DescendantContent | back to summary |
|---|---|
| pack-priv DescendantContent(Object obj, int indent) | |