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

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

Method Summary

All Methods Instance Methods Concrete Methods 
Level getLevel()
Returns level associated with this space markup element or null if this element has no level
ConveyorNetwork getNetwork()  
void setNetwork​(ConveyorNetwork network)
Sets the network for this element.
Modifier and Type Method Description

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 com.anylogic.engine.markup.AbstractMarkup

discardOwner, executeUserAction, findSVGElement, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, onAggregatorVisibilityChanged, removeSVGFromOwner, resetSVGState, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural, updateSVGProperties

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 Detail

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
How can we improve this article?