AnyLogic
Expand
Font size
All Implemented Interfaces:
Serializable

@AnyLogicInternalAPI
public final class ModelElementDescriptor
extends Object
implements 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

Modifier and TypeFieldDescription
final intindex 
final booleanisPublic 
final Stringname 
final booleanshowLabel 
final StringstaticData 
final ModelElementTypetype 

Constructor Summary

ConstructorDescription
ModelElementDescriptor(ModelElementType type, String name, boolean showLabel, String staticData, boolean isPublic, int index) 

Method Summary

Methods inherited from class java.lang.Object

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

Field Details

type

public final ModelElementType type

name

public final String name

showLabel

public final boolean showLabel

staticData

public final String staticData

isPublic

public final boolean isPublic

index

public final int index

Constructor Details

ModelElementDescriptor

public ModelElementDescriptor(ModelElementType type,
 String name,
 boolean showLabel,
 String staticData,
 boolean isPublic,
 int index)