Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkupAggregator<T>
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractDrawableMarkupAggregator
,AbstractNetwork
@AnyLogicInternalAPI public abstract class AbstractMarkupAggregator<T> extends Object implements Serializable
- See Also:
- Serialized Form
Modifier and Type | Method | Description |
---|---|---|
abstract Stream<? extends AggregatableAnimationElement> | elementsInternal() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
final RuntimeException | error |
Signals an error during the model run by throwing a RuntimeException
with errorText preceded by the agent full name.
|
String | getName() | |
T | getOwner() | |
final void | initializeInternal() |
Initialization of markup aggregator (e.g.
|
boolean | isVisible() |
Returns the visibility of the markup container.
|
void | onAggregatorVisibilityChanged() |
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. |
void | setVisible |
Sets the visibility of all the markup container.
|
@AnyLogicInternalAPI public final void initializeInternal()
Initialization of markup aggregator (e.g. network).
It can't be modified since this method has been called.
public final RuntimeException error(String errorText)
Signals an error during the model run by throwing a RuntimeException
with errorText preceded by the agent full name.
- Parameters:
errorText
- the text describing the error that will be displayed.- Returns:
- actually this method never returns, it throws runtime exception
by itself.
But the return type is defined for some cases when you would like to use the following form of call:throw error("my message");
public T getOwner()
public String getName()
public void setVisible(boolean v)
Sets the visibility of all the markup container.
- Parameters:
v
- visibility:true
- visible (some markup elements may be invisible according to their individual settings),false
- not
@AnyLogicInternalAPI public abstract Stream<? extends AggregatableAnimationElement> elementsInternal()
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.
@AnyLogicInternalAPI public void onAggregatorVisibilityChanged()
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.
public boolean isVisible()
Returns the visibility of the markup container.
- Returns:
- visibility:
true
- visible (some markup elements may be invisible according to their individual settings),false
- not