Class StructureLogger
- java.lang.Object
-
- net.officefloor.gef.common.structure.StructureLogger
-
public class StructureLogger extends java.lang.Object
Logs the structure of the JavaFx application.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
log(javafx.scene.Node node, java.lang.Appendable output)
Logs theNode
and all its descendants.static void
logCss(javafx.scene.Node node, int maxDepth, java.lang.Appendable output)
Logs theNode
including itsCssMetaData
and all its descendants.static void
logFull(javafx.scene.Node node, java.lang.Appendable output)
Logs the full structure that theNode
is involved in.
-
-
-
Method Detail
-
logFull
public static void logFull(javafx.scene.Node node, java.lang.Appendable output) throws java.io.IOException
Logs the full structure that theNode
is involved in.- Parameters:
node
-Node
.output
-Appendable
.- Throws:
java.io.IOException
- If fails to log.
-
log
public static void log(javafx.scene.Node node, java.lang.Appendable output) throws java.io.IOException
Logs theNode
and all its descendants.- Parameters:
node
-Node
.output
-Appendable
.- Throws:
java.io.IOException
- If fails to log.
-
logCss
public static void logCss(javafx.scene.Node node, int maxDepth, java.lang.Appendable output) throws java.io.IOException
Logs theNode
including itsCssMetaData
and all its descendants.- Parameters:
node
-Node
.maxDepth
- Maximum depth to recurse before stopping. Note that CSS output is quite large, hence need to limit depth. Use-1
for unlimited depth.output
-Appendable
.- Throws:
java.io.IOException
- If fails to log.
-
-