org.joone.edit
Class OutputPluginConnection
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractFigure
-
- CH.ifa.draw.figures.PolyLineFigure
-
- CH.ifa.draw.figures.LineConnection
-
- org.joone.edit.LayerConnection
-
- org.joone.edit.OutputPluginConnection
-
- All Implemented Interfaces:
- ConnectionFigure, Figure, FigureChangeListener, Storable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, GenericFigure, UpdatableFigure
public class OutputPluginConnection extends LayerConnection
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class CH.ifa.draw.figures.PolyLineFigure
ARROW_TIP_BOTH, ARROW_TIP_END, ARROW_TIP_NONE, ARROW_TIP_START
-
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
-
-
Constructor Summary
Constructors Constructor and Description OutputPluginConnection()Creates new OutputPluginConnection
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancanConnect(Figure start, Figure end)determines if the two layers can be connectedvoidhandleConnect(Figure start, Figure end)handle the connection behaviourvoidhandleDisconnect(Figure start, Figure end)handle the disconnection behaviour-
Methods inherited from class org.joone.edit.LayerConnection
canConnect, draw, getParam, getPopupMenu, getSynapse, getWrapper, handles, setParam, setParams, setSynapse, update
-
Methods inherited from class CH.ifa.draw.figures.LineConnection
canConnect, connectEnd, connectsSame, connectStart, disconnectEnd, disconnectStart, end, endFigure, endPoint, endPoint, figureChanged, figureInvalidated, figureRemoved, figureRequestRemove, figureRequestUpdate, insertPointAt, layoutConnection, read, release, removePointAt, setPointAt, start, startFigure, startPoint, startPoint, updateConnection, write
-
Methods inherited from class CH.ifa.draw.figures.PolyLineFigure
addPoint, basicDisplayBox, connectorAt, containsPoint, displayBox, findSegment, getAttribute, getEndDecoration, getStartDecoration, isEmpty, joinSegments, locator, pointAt, pointCount, points, setAttribute, setEndDecoration, setStartDecoration, splitSegment
-
Methods inherited from class CH.ifa.draw.standard.AbstractFigure
addFigureChangeListener, addToContainer, center, changed, clone, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, figures, findFigureInside, includes, invalidate, listener, moveBy, removeFigureChangeListener, removeFromContainer, size, willChange
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface CH.ifa.draw.framework.ConnectionFigure
joinSegments, pointAt, pointCount, splitSegment
-
Methods inherited from interface CH.ifa.draw.framework.Figure
addFigureChangeListener, addToContainer, basicDisplayBox, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, figures, findFigureInside, getAttribute, includes, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, size, willChange
-
-
-
-
Constructor Detail
-
OutputPluginConnection
public OutputPluginConnection()
Creates new OutputPluginConnection
-
-
Method Detail
-
canConnect
public boolean canConnect(Figure start, Figure end)
determines if the two layers can be connected- Specified by:
canConnectin interfaceConnectionFigure- Overrides:
canConnectin classLayerConnection- Parameters:
start- starting layerend- ending layer- Returns:
- true if can be connected
-
handleConnect
public void handleConnect(Figure start, Figure end)
handle the connection behaviour- Overrides:
handleConnectin classLayerConnection- Parameters:
start- starting layerend- ending layer
-
handleDisconnect
public void handleDisconnect(Figure start, Figure end)
handle the disconnection behaviour- Overrides:
handleDisconnectin classLayerConnection- Parameters:
start- starting layerend- ending layer
-
-
DataMelt 3.0 © DataMelt by jWork.ORG