Package com.anylogic.engine.markup
- Method Summary
- 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.AggregatableAnimationElement
- Methods inherited from interface com.anylogic.engine.markup.INetworkMarkupElement
- Method Detail
- java.lang.Object
-
- com.anylogic.engine.markup.AbstractMarkup
-
- com.anylogic.engine.markup.MarkupShape
-
- com.anylogic.engine.markup.ConveyorMarkupElement<T>
-
- com.anylogic.engine.markup.ConveyorPathPart<T>
- All Implemented Interfaces:
AggregatableAnimationElement
,HasLevel
,INetworkMarkupElement
,SVGElement
,java.io.Serializable
- Direct Known Subclasses:
ConveyorSpur
,ConveyorStation
,PositionOnConveyor
public abstract class ConveyorPathPart<T extends Agent> extends ConveyorMarkupElement<T>
- See Also:
- Serialized Form
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.
|
Modifier and Type | Method | Description |
---|
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
postInitialize
contains, getNearestPoint, getSpace, randomPointInside, randomPointInside, randomPointInside, randomPointInside
public ConveyorPath<? extends T> getConveyor()
Returns conveyor on which the conveyor part is located.
- Returns:
- conveyor on which the conveyor part is located.
public void setConveyor(ConveyorPath<? extends T> conveyor)
Sets conveyor on which the conveyor part is located.
- Parameters:
conveyor
- conveyor on which the conveyor part is located.
public double getOffset()
Returns offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
- Returns:
- offset in XY-projection, in pixels.
public 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.
- Returns:
- offset in XY-projection, measured in the given units.
public void setOffset(double offset)
Sets offset from the beginning of conveyor to the end of this conveyor part in XY-projection, in pixels.
- Parameters:
offset
- offset, in pixels
public 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.
- Parameters:
offset
- offset, measured in the given units
-
How can we improve this article?
-