Package com.anylogic.engine.markup
- 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
,HasLevel
,LevelElement
,LevelMarkup
,SVGElement
,Serializable
public class ServiceWArea extends ServiceBase<ServicePoint<QueueArea>,QueueArea>
- 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, setServiceSuspended
error, getFullName, getOutsideLevelZ, getPresentable, getSpace, initialize, isClickHandled, isPublic, onClick, remove, setDrawMode, setOwner
discardOwner, executeUserAction, getName, getSVGId, initializeInternal, isVisible, onAggregatorInitialized, removeSVGFromOwner, setVisible, updateDynamicProperties, updateDynamicPropertiesStructural
public 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:
AggregatableAnimationElement
This 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:
onAggregatorVisibilityChanged
in interfaceAggregatableAnimationElement
- Overrides:
onAggregatorVisibilityChanged
in 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:
getQueues
in classServiceBase<ServicePoint<QueueArea>,
QueueArea> - Returns:
- the list of all queues of this service
@AnyLogicInternalAPI public BoundingRectangle getBoundingRectangle()
@AnyLogicInternalAPI public SVGElement updateSVGProperties(List<SVGCommand> output, ShapeDrawMode drawMode, boolean publicOnly, SVGElement owner, SVGElement elbehind)
Description copied from interface:
SVGElement
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. 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:
updateSVGProperties
in interfaceSVGElement
- Overrides:
updateSVGProperties
in 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
null
if 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 givenowner
when the svg element is added to a different place (e.g. GIS map).
@AnyLogicInternalAPI public void resetSVGState()
Description copied from interface:
SVGElement
This 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:
resetSVGState
in interfaceSVGElement
- Overrides:
resetSVGState
in classAbstractMarkup
@AnyLogicInternalAPI public SVGElement findSVGElement(long svgId)
Description copied from interface:
SVGElement
This 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:
findSVGElement
in interfaceSVGElement
- Overrides:
findSVGElement
in classAbstractMarkup