Class StructureLogger
- java.lang.Object
-
- net.officefloor.gef.common.structure.StructureLogger
-
public class StructureLogger extends java.lang.ObjectLogs the structure of the JavaFx application.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidlog(javafx.scene.Node node, java.lang.Appendable output)Logs theNodeand all its descendants.static voidlogCss(javafx.scene.Node node, int maxDepth, java.lang.Appendable output)Logs theNodeincluding itsCssMetaDataand all its descendants.static voidlogFull(javafx.scene.Node node, java.lang.Appendable output)Logs the full structure that theNodeis involved in.
-
-
-
Method Detail
-
logFull
public static void logFull(javafx.scene.Node node, java.lang.Appendable output) throws java.io.IOExceptionLogs the full structure that theNodeis 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.IOExceptionLogs theNodeand 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.IOExceptionLogs theNodeincluding itsCssMetaDataand 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-1for unlimited depth.output-Appendable.- Throws:
java.io.IOException- If fails to log.
-
-