Class ConnectState
java.lang.Object
jsimgraph.controller.UIStateDefault
jsimgraph.controller.ConnectState
- Author:
- Federico Granata Date: 14-lug-2003 Time: 16.59.19
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Point2Dprotected org.jgraph.graph.PortViewprotected org.jgraph.graph.PortViewprotected GraphMouseListenerprotected org.jgraph.graph.PortViewprotected booleanprotected Point2Dprotected JmtCellFields inherited from class UIStateDefault
mediator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jgraph.graph.PortViewgetInPortViewAt(int x, int y) Gets the first portView of the input port of the cell at positionprotected org.jgraph.graph.PortViewgetOutPortViewAt(int x, int y) Gets the first portView of the output port of the cell at positionvoidvoidvoidvoidvoidvoidMethods inherited from class UIStateDefault
handleClick, handleMove
-
Field Details
-
startPoint
-
start
-
current
-
port
protected org.jgraph.graph.PortView port -
firstPort
protected org.jgraph.graph.PortView firstPort -
lastPort
protected org.jgraph.graph.PortView lastPort -
ml
-
pressed
protected boolean pressed
-
-
Constructor Details
-
ConnectState
-
-
Method Details
-
handlePress
- Overrides:
handlePressin classUIStateDefault
-
handleExit
- Overrides:
handleExitin classUIStateDefault
-
handleEnter
- Overrides:
handleEnterin classUIStateDefault
-
handleDrag
- Overrides:
handleDragin classUIStateDefault
-
handleRelease
- Overrides:
handleReleasein classUIStateDefault
-
getInPortViewAt
protected org.jgraph.graph.PortView getInPortViewAt(int x, int y) Gets the first portView of the input port of the cell at position- Parameters:
x-y-- Returns:
- portView of the input port
-
getOutPortViewAt
protected org.jgraph.graph.PortView getOutPortViewAt(int x, int y) Gets the first portView of the output port of the cell at position- Parameters:
x-y-- Returns:
- portView of the output port
-
overlay
-