AnyLogic
Expand
Font size
All Implemented Interfaces:
com.anylogic.engine.internal.Child, Locatable2D, Locatable3D, AggregatableAnimationElement, HasLevel, LevelElement, SVGElement, Serializable, Cloneable

@AnyLogicInternalAPI
public class ElevatorShaft
extends Shape3D
See Also:
Serialized Form

Field Summary

Fields inherited from class com.anylogic.engine.presentation.Shape3D

UNKNOWN_NAME

Constructor Summary

ConstructorDescription
ElevatorShaft(Elevator<?> elevator, Level level) 

Method Summary

Modifier and TypeMethodDescription
booleancontains(double px, double py)
Test if the shape contains the point with the given coordinates (relative to this shape's container, i.e.
BoundingRectanglegetBoundingRectangle() 
Elevator<?>getElevator() 
voidsetFrontDoorOpen(boolean frontDoorOpen) 
voidsetLineColor(Paint lineColor) 
voidsetPlatformColor(Paint platformColor) 
voidsetRearDoorOpen(boolean rearDoorOpen) 
voidsetZHeight(double zHeight) 

Methods inherited from class com.anylogic.engine.presentation.Shape3D

canHandleClick, getDrawMode, getScaleZ, getZ, getZOffset, setDrawMode, setPos, setPos, setPos, setRotation, setScale, setScale, setScaleZ, setZ

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

initializeInternal, postInitialize

Methods inherited from interface com.anylogic.engine.Locatable2D

getX, getY

Constructor Details

ElevatorShaft

public ElevatorShaft(Elevator<?> elevator,
 Level level)

Method Details

setZHeight

public void setZHeight(double zHeight)

setLineColor

public void setLineColor(Paint lineColor)

setPlatformColor

public void setPlatformColor(Paint platformColor)

setFrontDoorOpen

public void setFrontDoorOpen(boolean frontDoorOpen)

setRearDoorOpen

public void setRearDoorOpen(boolean rearDoorOpen)

contains

public boolean contains(double px,
 double py)
Description copied from class: Shape
Test if the shape contains the point with the given coordinates (relative to this shape's container, i.e. in the same system with the coordinates of this shape, x and y)
Specified by:
contains in class Shape
Parameters:
px - the x coordinate relative to this shape's container
py - the y coordinate relative to this shape's container
Returns:
true if the shape contains the point with the given coordinates

getBoundingRectangle

@AnyLogicInternalAPI
public BoundingRectangle getBoundingRectangle()

getElevator

public Elevator<?> getElevator()