public abstract class ConveyorPathPart<T extends Agent> extends ConveyorMarkupElement<T>
Modifier and Type | Method and Description |
---|---|
ConveyorPath<? extends T> |
getConveyor()
Returns conveyor on which the conveyor part is located.
|
double |
getOffset()
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
|
double |
getOffset(LengthUnits units)
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
|
void |
setConveyor(ConveyorPath<? extends T> conveyor)
Sets conveyor on which the conveyor part is located.
|
void |
setOffset(double offset)
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
|
void |
setOffset(double offset,
LengthUnits units)
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, measured in the given units.
|
getLevel, getNetwork, setNetwork
contains, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, getNearestPoint, getSpace, randomPointInside, randomPointInside, randomPointInside, randomPointInside
postInitialize
public ConveyorPath<? extends T> getConveyor()
public void setConveyor(ConveyorPath<? extends T> conveyor)
conveyor
- conveyor on which the conveyor part is located.public double getOffset()
public double getOffset(LengthUnits units)
public void setOffset(double offset)
offset
- offset, in pixelspublic void setOffset(double offset, LengthUnits units)
offset
- offset, measured in the given unitsCopyright © AnyLogic North America, LLC. All Rights Reserved.