- java.lang.Object
-
- com.iamsoft.util.ui.javafx.guideline.GuideLineUtil
-
public final class GuideLineUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
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.
-
-