AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.presentation.ModelElementDescriptor
All Implemented Interfaces:
java.io.Serializable

@AnyLogicInternalAPI
public final class ModelElementDescriptor
extends java.lang.Object
implements java.io.Serializable
As long as at runtime the information about the model elements such as position of their icons, visibility of labels, and sometimes even type is lost, this class should contain all info needed for displaying the element and its info at runtime, including the reference to the element itself.
See Also:
Serialized Form

Field Summary

Fields 
int index  
boolean isPublic  
java.lang.String name  
boolean showLabel  
java.lang.String staticData  
ModelElementType type  
Modifier and Type Field Description

Constructor Summary

Constructors 
ModelElementDescriptor​(ModelElementType type, java.lang.String name, boolean showLabel, java.lang.String staticData, boolean isPublic, int index)  
Constructor Description

Method Summary

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

type

public final ModelElementType type

name

public final java.lang.String name

showLabel

public final boolean showLabel

staticData

public final java.lang.String staticData

isPublic

public final boolean isPublic

index

public final int index

Constructor Detail

ModelElementDescriptor

public ModelElementDescriptor​(ModelElementType type,
                              java.lang.String name,
                              boolean showLabel,
                              java.lang.String staticData,
                              boolean isPublic,
                              int index)
How can we improve this article?