org.joone.edit
Class InputLayerFigure
- java.lang.Object
-
- CH.ifa.draw.standard.AbstractFigure
-
- CH.ifa.draw.standard.CompositeFigure
-
- org.joone.edit.ConcreteGenericFigure
-
- org.joone.edit.LayerFigure
-
- org.joone.edit.InputLayerFigure
-
- All Implemented Interfaces:
- Figure, FigureChangeListener, Storable, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, GenericFigure, UpdatableFigure
- Direct Known Subclasses:
- InputConnectorLayerFigure, InputSwitchLayerFigure, LearningSwitchLayerFigure
public class InputLayerFigure 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 InputLayerFigure()Creates new InputLayerFigure
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddPostConn(LayerFigure figure)voidaddPreConn(LayerFigure layerFigure, ConverterPlugIn plugin)booleanaddPreConn(LayerFigure layerFigure, InputPatternListener synapse)Adds an incoming connection.booleancanConnect()Checks if this figure can be connected.booleancanConnect(GenericFigure start, ConnectionFigure conn)StreamInputSynapsegetInputLayer()Gets the InputLayer objectWrappergetWrapper()Returns the wrapper for the FigurevoidremovePreConn(LayerFigure figure, ConverterPlugIn 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
-
-
-
-
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, ConverterPlugIn plugin)
-
removePreConn
public void removePreConn(LayerFigure figure, ConverterPlugIn plugin)
-
getInputLayer
public StreamInputSynapse getInputLayer()
Gets 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