Package com.anylogic.engine.markup
- Field Summary
- Constructor Summary
- Method Summary
- Methods inherited from class com.anylogic.engine.markup.ServiceBase
- Methods inherited from class com.anylogic.engine.markup.AbstractLevelMarkup
- 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
- Constructor Details
- Method Details
- All Implemented Interfaces:
AggregatableAnimationElement,HasBoundingRectangle,HasLevel,LevelElement,LevelMarkup,SVGElement,UsdElement,Serializable
public class ServiceWArea extends ServiceBase<ServicePoint<QueueArea>,QueueArea> implements HasBoundingRectangle
- See Also:
- Serialized Form
| Constructor | Description |
|---|---|
ServiceWArea() | |
ServiceWArea |
Deprecated.
deprecated in version 8.4, will be removed in the future releases
|
| Modifier and Type | Method | Description |
|---|---|---|
SVGElement | findSVGElement |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
BoundingRectangle | getBoundingRectangle() | |
QueueArea | getQueueArea() |
Returns the area belonging to the current service with area.
|
List<QueueArea> | getQueues() |
Returns the list containing one element corresponding to the queue area of this service with area
|
void | onAggregatorVisibilityChanged() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | resetSVGState |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | setQueueArea |
Sets the queue area of this service element.
|
SVGElement | updateSVGProperties |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. Updates SVG properties of the element that are then sent to the rendering client. |
addService, contains, getClosestQueue, getClosestQueueNotEmpty, getLongestQueue, getPeds, getServiceColor, getServices, getShortestQueue, isServiceSuspended, onDestroy, postInitialize, queueSize, setDataSource, setServiceColor, setServiceSuspendederror, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isOnly3D, isPublic, onClick, remove, setDrawMode, setOwnerdiscardOwner, executeUserAction, getGroupOrOwner, getInspect, getInspectionWindowString, getName, getOrGenerateUSDId, getSVGComponent, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, removeSVGFromOwner, setInspect, setVisible, updateDynamicProperties, updateDynamicPropertiesStructuralpublic ServiceWArea()
@Deprecated public ServiceWArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, QueueArea queueArea, ServicePoint<QueueArea>[] services, Color serviceColor)
Deprecated.
deprecated in version 8.4, will be removed in the future releases
- Parameters:
owner-drawMode-isPublic-queueArea-services-serviceColor-
public void onAggregatorVisibilityChanged()
Description copied from interface:
AggregatableAnimationElementThis method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
onAggregatorVisibilityChangedin interfaceAggregatableAnimationElement- Overrides:
onAggregatorVisibilityChangedin classAbstractMarkup
public void setQueueArea(QueueArea area)
Sets the queue area of this service element. The service should be uninitialized
- Parameters:
area- service area
public QueueArea getQueueArea()
Returns the area belonging to the current service with area.
- Returns:
- the area belonging to the current service with area.
public List<QueueArea> getQueues()
Returns the list containing one element corresponding to the queue area of this service with area
- Specified by:
getQueuesin classServiceBase<ServicePoint<QueueArea>,QueueArea> - Returns:
- the list of all queues of this service
@AnyLogicInternalAPI public BoundingRectangle getBoundingRectangle()
- Specified by:
getBoundingRectanglein interfaceHasBoundingRectangle
@AnyLogicInternalAPI public SVGElement updateSVGProperties(List<SVGCommand> output, ShapeDrawMode drawMode, boolean publicOnly, SVGElement owner, SVGElement elbehind, boolean isInReplicatedShape)
Description copied from interface:
SVGElementThis method is internal and shouldn't be called by user.
it may be removed/renamed in future.
Updates SVG properties of the element that are then sent to the rendering client. If the element is not yet in the SVG scene, generates "C" command, if it is there, but some properties are out of date, generates "U" command. If SVG drawing of this element is not needed because of public only settings, or permanently not needed, or not supported yet, returns false and does nothing.
it may be removed/renamed in future.
Updates SVG properties of the element that are then sent to the rendering client. If the element is not yet in the SVG scene, generates "C" command, if it is there, but some properties are out of date, generates "U" command. If SVG drawing of this element is not needed because of public only settings, or permanently not needed, or not supported yet, returns false and does nothing.
- Specified by:
updateSVGPropertiesin interfaceSVGElement- Overrides:
updateSVGPropertiesin classAbstractMarkup- Parameters:
output- the list of commands to add todrawMode- TODOpublicOnly- drawing context: if true, only shapes that are marked as public only are updatedowner- the SVG element that serves as a container for this elementelbehind- the SVG element behind this one, or null if none or if order is irrelevant- Returns:
- the actual owner this element has been added to or
nullif element is not drawn (e.g. drawing of this element is not needed because of public only settings, permanently not needed or not supported - hence SVG id is not set). The actual owner may differ from the givenownerwhen the svg element is added to a different place (e.g. GIS map).
@AnyLogicInternalAPI public void resetSVGState(SVGElement elementBeingDeleted, boolean delete, Consumer<SVGCommand> commandOutput)
Description copied from interface:
SVGElementThis method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
resetSVGStatein interfaceSVGElement- Overrides:
resetSVGStatein classAbstractMarkup
@AnyLogicInternalAPI public SVGElement findSVGElement(long svgId)
Description copied from interface:
SVGElementThis method is internal and shouldn't be called by user.
it may be removed/renamed in future.
it may be removed/renamed in future.
- Specified by:
findSVGElementin interfaceSVGElement- Overrides:
findSVGElementin classAbstractMarkup