Package com.nt.udc.admin.client.gui
Class RoutingLine
java.lang.Object
java.awt.geom.Line2D
java.awt.geom.Line2D.Double
com.nt.udc.admin.client.gui.RoutingLine
- All Implemented Interfaces:
Shape,Serializable,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Line2D
Line2D.Double, Line2D.Float -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanbooleanFields inherited from class java.awt.geom.Line2D.Double
x1, x2, y1, y2 -
Constructor Summary
ConstructorsConstructorDescriptionRoutingLine(double x1, double y1, double x2, double y2) RoutingLine(double x1, double y1, double x2, double y2, NodeIcon src, NodeIcon dest) RoutingLine(NodeIcon src, NodeIcon dest) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawSelf(Graphics2D g2, Color bgColor) booleanequals(RoutingLine compare) voiderase(Graphics2D g2, Color bgColor) booleanbooleanvoidsetDestLine(Line2D.Double dest) voidsetDestNode(NodeIcon dest) voidsetDrawLabel(boolean draw) voidsetGroupSelected(boolean sel) voidsetRoutFunc(String func) voidsetSelected(boolean sel) voidsetSrcLine(Line2D.Double src) voidsetSrcNode(NodeIcon src) Methods inherited from class java.awt.geom.Line2D.Double
getBounds2D, getP1, getP2, getX1, getX2, getY1, getY2, setLineMethods inherited from class java.awt.geom.Line2D
clone, contains, contains, contains, contains, getBounds, getPathIterator, getPathIterator, intersects, intersects, intersectsLine, intersectsLine, linesIntersect, ptLineDist, ptLineDist, ptLineDist, ptLineDistSq, ptLineDistSq, ptLineDistSq, ptSegDist, ptSegDist, ptSegDist, ptSegDistSq, ptSegDistSq, ptSegDistSq, relativeCCW, relativeCCW, relativeCCW, setLine, setLine
-
Field Details
-
isSelected
public boolean isSelected -
isGroupSelected
public boolean isGroupSelected -
hasAttrs
public boolean hasAttrs -
labelRect
-
srcHandle
-
destHandle
-
-
Constructor Details
-
RoutingLine
public RoutingLine(double x1, double y1, double x2, double y2) -
RoutingLine
-
RoutingLine
-
-
Method Details
-
isSelected
public boolean isSelected() -
isGroupSelected
public boolean isGroupSelected() -
getSrcNode
-
getDestNode
-
getSrcLine
-
getDestLine
-
getRoutFunc
-
setSelected
public void setSelected(boolean sel) -
setGroupSelected
public void setGroupSelected(boolean sel) -
setSrcNode
-
setDestNode
-
setSrcLine
-
setDestLine
-
setDrawLabel
public void setDrawLabel(boolean draw) -
setRoutFunc
-
drawSelf
-
erase
-
equals
-