public class EntityTypeAnimation
extends java.lang.Object
| Constructor and Description |
|---|
EntityTypeAnimation() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPossibleAttribute(java.lang.String attribute)
Defines possible Attributes
Unvalid signs ;,:| are changed to _
|
void |
addPossibleState(java.lang.String state,
java.lang.String iconId)
Defines the possible states and with which icon this state will be animated.
|
Command |
getEntityTypeCmd(long initTime)
generate "createEntityType" command in cmds-file
|
java.lang.String |
getId() |
void |
setGenereratedBy(java.lang.String genereratedBy)
informs about object that generate this animation command
|
void |
setIconSize(java.awt.Dimension size)
All icons that animates entities of this entityType
must have the same size
|
void |
setId(java.lang.String id)
Normally, the id is the simple class name of SimProcess or Entity
|
void |
setShow(int show)
set a combination of show flags from EntityType.SHOW_
|
public void setId(java.lang.String id)
id - public java.lang.String getId()
public void setGenereratedBy(java.lang.String genereratedBy)
genereratedBy - public void setIconSize(java.awt.Dimension size)
size - public void setShow(int show)
show - public void addPossibleState(java.lang.String state,
java.lang.String iconId)
state - iconId - public void addPossibleAttribute(java.lang.String attribute)
attribute - public Command getEntityTypeCmd(long initTime)
initTime -