public class ProcessEdgeDragHelper extends ProcessHelper implements Dragable
TAG_HELPER
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
ProcessEdgeDragHelper(ProcessEdge edge,
java.awt.Point dragPoint) |
Modifier and Type | Method and Description |
---|---|
void |
detectClosestRoutingPoints() |
java.awt.Point |
getPos() |
java.awt.Point |
getRoutingPoint1() |
java.awt.Point |
getRoutingPoint2() |
boolean |
isHorizontal() |
boolean |
isSelectable()
Returns whether this ProcessHelper can be selected in the ProcessEditor or not.
|
boolean |
isVertical() |
void |
paint(java.awt.Graphics g)
Paints this ProcessHelper on a given Graphics.
|
void |
setPos(java.awt.Point p)
Sets the position for this Dragable
|
clone, contains, getXmlTag
addContext, addListener, equals, getAlpha, getContexts, getId, getName, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setProperty, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
public ProcessEdgeDragHelper(ProcessEdge edge, java.awt.Point dragPoint)
public boolean isHorizontal()
public boolean isVertical()
public void detectClosestRoutingPoints()
public java.awt.Point getRoutingPoint1()
public java.awt.Point getRoutingPoint2()
public void setPos(java.awt.Point p)
Dragable
public void paint(java.awt.Graphics g)
ProcessHelper
paint
in class ProcessHelper
public boolean isSelectable()
ProcessHelper
isSelectable
in class ProcessHelper