AnyLogic
Expand
Font size
All Implemented Interfaces:
AggregatableAnimationElement, HasLevel, INetworkMarkupElement, SVGElement, Serializable
Direct Known Subclasses:
ConveyorNode, ConveyorPath, ConveyorPathPart

public abstract class ConveyorMarkupElement<T extends Agent>
extends MarkupShape
implements INetworkMarkupElement
See Also:
Serialized Form

Method Summary

Modifier and TypeMethodDescription
LevelgetLevel()
Returns level associated with this space markup element or null if this element has no level
ConveyorNetworkgetNetwork() 
voidsetNetwork(ConveyorNetwork network)
Sets the network for this element.

Methods inherited from class com.anylogic.engine.markup.MarkupShape

contains, error, getDrawMode, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface com.anylogic.engine.markup.AggregatableAnimationElement

postInitialize

Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement

contains, getNearestPoint, getSpace, randomPointInside, randomPointInside, randomPointInside, randomPointInside

Method Details

getNetwork

public ConveyorNetwork getNetwork()
Specified by:
getNetwork in interface INetworkMarkupElement
Returns:
network this markup element belongs to or null if this element isn't a part of a network

getLevel

public Level getLevel()
Description copied from interface: HasLevel
Returns level associated with this space markup element or null if this element has no level
Specified by:
getLevel in interface HasLevel
Specified by:
getLevel in class MarkupShape
Returns:
the level associated with this space markup element

setNetwork

public void setNetwork(ConveyorNetwork network)
Sets the network for this element. The element should be uninitialized
Parameters:
network - new network