Class EdgeHandler
java.lang.Object
com.inductiveautomation.ignition.designer.designable.tools.EdgeHandler
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intCompares two edge positions, making the more "extreme" position with respect to this edge the "lower" value.abstract doublegetPosition(Rectangle2D rect) Returns this edge's value for the given Rectangle2Dstatic EdgeHandlerhandler(EdgeHandler.Edge edge) abstract voidmove(Rectangle2D rect, double position) Moves the Rectangle2D to the given edge position
-
Constructor Details
-
EdgeHandler
public EdgeHandler()
-
-
Method Details
-
getPosition
Returns this edge's value for the given Rectangle2D -
move
Moves the Rectangle2D to the given edge position -
compare
Compares two edge positions, making the more "extreme" position with respect to this edge the "lower" value. For example, comparing to bottom edges, the larger value will be "lower". Comparing to top edges, the smaller value will be "lower". This makes ordering a list by a given edge's comparator be ordered such that the most extreme component is 1st in the list. -
handler
-