@AnyLogicInternalAPI public abstract class AbstractMarkupAggregator<T> extends java.lang.Object implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
abstract java.util.stream.Stream<? extends AggregatableAnimationElement> |
elementsInternal()
This method is internal and shouldn't be called by user.
|
java.lang.RuntimeException |
error(java.lang.String errorText)
Signals an error during the model run by throwing a RuntimeException
with errorText preceded by the agent full name.
|
java.lang.String |
getName() |
T |
getOwner() |
void |
initializeInternal()
Initialization of markup aggregator (e.g. network).
|
boolean |
isVisible()
Returns the visibility of the markup container.
|
void |
onAggregatorVisibilityChanged()
This method is internal and shouldn't be called by user.
|
void |
setVisible(boolean v)
Sets the visibility of all the markup container.
|
@AnyLogicInternalAPI public final void initializeInternal()
public final java.lang.RuntimeException error(java.lang.String errorText)
errorText
- the text describing the error that will be displayed.throw error("my message");
public T getOwner()
public java.lang.String getName()
public void setVisible(boolean v)
v
- visibility: true
- visible (some markup elements may be invisible
according to their individual settings), false
- not@AnyLogicInternalAPI public abstract java.util.stream.Stream<? extends AggregatableAnimationElement> elementsInternal()
@AnyLogicInternalAPI public void onAggregatorVisibilityChanged()
public boolean isVisible()
true
- visible (some markup elements may be invisible
according to their individual settings), false
- notCopyright © AnyLogic North America, LLC. All Rights Reserved.