Class EdgeHandler
- java.lang.Object
- 
- com.inductiveautomation.ignition.designer.designable.tools.EdgeHandler
 
- 
 public abstract class EdgeHandler extends java.lang.Object
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classEdgeHandler.Edge
 - 
Constructor SummaryConstructors Constructor Description EdgeHandler()
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intcompare(java.lang.Double pos1, java.lang.Double pos2)Compares two edge positions, making the more "extreme" position with respect to this edge the "lower" value.abstract doublegetPosition(java.awt.geom.Rectangle2D rect)Returns this edge's value for the given Rectangle2Dstatic EdgeHandlerhandler(EdgeHandler.Edge edge)abstract voidmove(java.awt.geom.Rectangle2D rect, double position)Moves the Rectangle2D to the given edge position
 
- 
- 
- 
Method Detail- 
getPositionpublic abstract double getPosition(java.awt.geom.Rectangle2D rect) Returns this edge's value for the given Rectangle2D
 - 
movepublic abstract void move(java.awt.geom.Rectangle2D rect, double position)Moves the Rectangle2D to the given edge position
 - 
comparepublic abstract int compare(java.lang.Double pos1, java.lang.Double pos2)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.
 - 
handlerpublic static EdgeHandler handler(EdgeHandler.Edge edge) 
 
- 
 
-