org.joone.edit
Class InputPluginLayerFigure
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractFigure
-
- CH.ifa.draw.standard.CompositeFigure
-
- org.joone.edit.ConcreteGenericFigure
-
- org.joone.edit.LayerFigure
-
- org.joone.edit.InputPluginLayerFigure
-
- All Implemented Interfaces:
- Figure, FigureChangeListener, Storable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, GenericFigure, UpdatableFigure
public class InputPluginLayerFigure extends LayerFigure
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.joone.edit.ConcreteGenericFigure
log
-
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
-
-
Constructor Summary
Constructors Constructor and Description InputPluginLayerFigure()Creates new InputLayerFigure
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddPostConn(LayerFigure figure)voidaddPreConn(LayerFigure layerFigure, AbstractConverterPlugIn plugin)booleanaddPreConn(LayerFigure layerFigure, InputPatternListener synapse)Adds an incoming connection.booleancanConnect()Checks if this figure can be connected.booleancanConnect(GenericFigure start, ConnectionFigure conn)ConverterPlugIngetPluginLayer()Get the InputLayer objectWrappergetWrapper()Returns the wrapper for the FigurevoidremovePreConn(LayerFigure figure, AbstractConverterPlugIn plugin)-
Methods inherited from class org.joone.edit.LayerFigure
addPostConn, getLayer, hasCycle, read, readConn, removePostConn, removePostConn, removePreConn, removePreConn, setLayer, setNumLayers, write, writeConn
-
Methods inherited from class org.joone.edit.ConcreteGenericFigure
basicDisplayBox, connectionInsets, displayBox, draw, figureChanged, figureRemoved, getParam, getPopupMenu, handles, initialize, notifyPostConn, setParam, setParams, update, update
-
Methods inherited from class CH.ifa.draw.standard.CompositeFigure
add, addAll, bringToFront, figureAt, figureCount, figureInvalidated, figureRequestRemove, figureRequestUpdate, figures, figuresReverse, findFigure, findFigure, findFigure, findFigureInside, findFigureInsideWithout, findFigureWithout, includes, orphan, orphanAll, release, remove, removeAll, removeAll, replace, sendToBack
-
Methods inherited from class CH.ifa.draw.standard.AbstractFigure
addFigureChangeListener, addToContainer, center, changed, clone, connectedTextLocator, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, getAttribute, invalidate, isEmpty, listener, moveBy, removeFigureChangeListener, removeFromContainer, setAttribute, size, willChange
-
-
-
-
Constructor Detail
-
InputPluginLayerFigure
public InputPluginLayerFigure()
Creates new InputLayerFigure
-
-
Method Detail
-
addPostConn
public void addPostConn(LayerFigure figure)
-
addPreConn
public boolean addPreConn(LayerFigure layerFigure, InputPatternListener synapse)
Description copied from class:LayerFigureAdds an incoming connection.- Overrides:
addPreConnin classLayerFigure- Returns:
- true if the connection doesn't exist
-
addPreConn
public void addPreConn(LayerFigure layerFigure, AbstractConverterPlugIn plugin)
-
removePreConn
public void removePreConn(LayerFigure figure, AbstractConverterPlugIn plugin)
-
getPluginLayer
public ConverterPlugIn getPluginLayer()
Get the InputLayer object- Returns:
- the InputLayer object (org.joone.StreamInputSynapse)
-
canConnect
public boolean canConnect()
Description copied from class:AbstractFigureChecks if this figure can be connected. By default AbstractFigures can be connected.- Specified by:
canConnectin interfaceFigure- Overrides:
canConnectin classAbstractFigure
-
getWrapper
public Wrapper getWrapper()
Returns the wrapper for the Figure- Specified by:
getWrapperin interfaceGenericFigure- Overrides:
getWrapperin classLayerFigure- Returns:
- the Wrapper object
-
canConnect
public boolean canConnect(GenericFigure start, ConnectionFigure conn)
- Specified by:
canConnectin interfaceGenericFigure- Overrides:
canConnectin classLayerFigure
-
-
DataMelt 3.0 © DataMelt by jWork.ORG