AnyLogic AnyLogic
Expand
Font size
All Superinterfaces:
AgentExtension, ExtEnvironmentInteractive, java.io.Serializable
All Known Subinterfaces:
ExtEnvironmentContinuous, ExtEnvironmentDiscrete

public interface ExtEnvironmentWithLayout
extends ExtEnvironmentInteractive

Method Detail

setLayoutType

void setLayoutType​(LayoutType type)
Sets the layout type. To apply the layout call applyLayout(). The default layout is LAYOUT_USER_DEFINED, i.e. arbitrary.
Parameters:
type - the new layout type

getLayoutType

LayoutType getLayoutType()
Returns the layout type. Note that this type has not necessarily been applied.
Returns:
the layout type

applyLayout

void applyLayout()
Rearranges agents in this environment according to the selected layout type.
See Also:
setLayoutType(LayoutType)
How can we improve this article?