java.lang.Object
com.iamsoft.util.ui.javafx.guideline.GuideLineUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic RunnableinstallGuideLines(javafx.collections.ObservableList<GuideLine> pGuideLines, Consumer<javafx.scene.shape.Shape> pAddShapeOp, Consumer<javafx.scene.shape.Shape> pRemoveShapeOp) Installs the specified guide-line list using the specified add/remove operations.static RunnableinstallGuideLines(javafx.collections.ObservableList<GuideLine> pGuideLines, Consumer<javafx.scene.shape.Shape> pAddLineOp, Consumer<javafx.scene.shape.Shape> pRemoveLineOp, Consumer<javafx.scene.shape.Shape> pAddRectangleOp, Consumer<javafx.scene.shape.Shape> pRemoveRectangleOp) Installs the specified guide-line list using the specified add/remove operations.
-
Method Details
-
installGuideLines
public static Runnable installGuideLines(javafx.collections.ObservableList<GuideLine> pGuideLines, Consumer<javafx.scene.shape.Shape> pAddShapeOp, Consumer<javafx.scene.shape.Shape> pRemoveShapeOp) Installs the specified guide-line list using the specified add/remove operations.- Parameters:
pGuideLines- A guide-line list to install.pAddShapeOp- Operation, which adds a guide-line's line or above/below rectangle to node.pRemoveShapeOp- Operation, which removes a guide-line's line or above/below rectangle from node.- Returns:
- A runnable, which can be used to perform an uninstall.
-
installGuideLines
public static Runnable installGuideLines(javafx.collections.ObservableList<GuideLine> pGuideLines, Consumer<javafx.scene.shape.Shape> pAddLineOp, Consumer<javafx.scene.shape.Shape> pRemoveLineOp, Consumer<javafx.scene.shape.Shape> pAddRectangleOp, Consumer<javafx.scene.shape.Shape> pRemoveRectangleOp) Installs the specified guide-line list using the specified add/remove operations.- Parameters:
pGuideLines- A guide-line list to install.pAddLineOp- Operation, which adds a guide-line's line to node.pRemoveLineOp- Operation, which removes a guide-line's line from node.pAddRectangleOp- Operation, which adds a guide-line's above/below rectangle to node.pRemoveRectangleOp- Operation, which removes a guide-line's above/below rectangle from node.- Returns:
- A runnable, which can be used to perform an uninstall.
-