Package com.anylogic.engine.markup
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.ConveyorNode
- Methods inherited from class com.anylogic.engine.markup.ConveyorMarkupElement
- Methods inherited from class com.anylogic.engine.markup.MarkupShape
- Methods inherited from class com.anylogic.engine.markup.AbstractMarkup
- Methods inherited from class java.lang.Object
- Methods inherited from interface com.anylogic.engine.markup.AnimationStaticLocationProvider
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Methods inherited from interface com.anylogic.engine.markup.INode
- Methods inherited from interface com.anylogic.engine.markup.MarkupPort
- Methods inherited from interface com.anylogic.engine.markup.NetworkPort
- Constructor Details
- Method Details
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkup
- com.anylogic.engine.markup.MarkupShape
- com.anylogic.engine.markup.ConveyorMarkupElement<T>
- com.anylogic.engine.markup.ConveyorNode<Agent>
- com.anylogic.engine.markup.ConveyorPortImpl
- All Implemented Interfaces:
AggregatableAnimationElement
,AnimationStaticLocationProvider
,HasLevel
,INetworkMarkupElement
,INode<ConveyorNode<?>,
,ConveyorPath<?>> MarkupPort
,NetworkPort
,SVGElement
,Serializable
@AnyLogicInternalAPI public class ConveyorPortImpl extends ConveyorNode<Agent> implements NetworkPort
This class has no user constructors.
Network ports should be created using factory, ConveyorNetwork.createPort(..).
- See Also:
- Serialized Form
Constructor | Description |
---|---|
ConveyorPortImpl |
Modifier and Type | Method | Description |
---|---|---|
void | addConnection | |
MarkupPort | getPairedPort() |
Returns the paired port for this markup port.
|
Position | getPosition() |
Returns the location (with rotation) of this element
|
Position | getPosition |
Returns the location (with rotation) of this element
|
double | getTransferDistance | |
Point | getXYZ() |
Returns the location of this element
|
Point | getXYZ |
Returns the location of this element
|
void | postInitialize() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | setPairedPort |
Sets the paired port for this markup port.
|
contains, getCompatibleAgentExtensionClass, getConnection, getConnections, getConnectionsCount, getFillColor, getFillTexture, getIncomingPaths, getLineColor, getLineTexture, getNearestPoint, getNetwork, getOutgoingPaths, getPosition, getTransferPositionByPercent, getX, getY, getZ, randomPointInside, setFillColor, setFillColor, setLineColor, setLineColor, setXYZ
error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties
@AnyLogicInternalAPI public ConveyorPortImpl(Agent owner, ShapeDrawMode drawMode, boolean isPublic, PathEnd<ConveyorPath<?>> pathEnd)
@AnyLogicInternalCodegenAPI public void setPairedPort(MarkupPort pairedPort)
Description copied from interface:
MarkupPort
Sets the paired port for this markup port.
- Specified by:
setPairedPort
in interfaceMarkupPort
- Parameters:
pairedPort
- - a markup port from another
public MarkupPort getPairedPort()
Description copied from interface:
MarkupPort
Returns the paired port for this markup port.
- Specified by:
getPairedPort
in interfaceMarkupPort
- Returns:
- the paired port for this markup port
public void postInitialize()
Description copied from interface:
AggregatableAnimationElement
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
postInitialize
in interfaceAggregatableAnimationElement
- Overrides:
postInitialize
in classConveyorNode<Agent>
public void addConnection(ConveyorPath<?> path, PathEndType type)
- Specified by:
addConnection
in interfaceINode<ConveyorNode<?>,
ConveyorPath<?>> - Overrides:
addConnection
in classConveyorNode<Agent>
public Point getXYZ()
Returns the location of this element
- Specified by:
getXYZ
in interfaceMarkupPort
- Returns:
- the Point object with coordinates of the node
public Point getXYZ(Point out)
Description copied from class:
ConveyorNode
Returns the location of this element
- Overrides:
getXYZ
in classConveyorNode<Agent>
- Parameters:
out
- output object to write to, may benull
- Returns:
- the Point object with coordinates of the node
public Position getPosition()
Returns the location (with rotation) of this element
- Returns:
- the Position object with coordinates of the node
public Position getPosition(Position out)
Returns the location (with rotation) of this element
- Parameters:
out
- output object to write to, may be null- Returns:
- the Position object with coordinates of the node
public double getTransferDistance(ConveyorPath<?> path1, ConveyorPath<?> path2)
- Specified by:
getTransferDistance
in interfaceINode<ConveyorNode<?>,
ConveyorPath<?>>