Package | Description |
---|---|
desmoj.extensions.visualization2d.engine.model |
Properties of Entities, EntityTypes, Lists, Processes, Stations and Routes... required for 2D animation.
|
desmoj.extensions.visualization2d.engine.modelGrafic |
This package contains the graphical properties of the entities in an animated model.
|
Modifier and Type | Method and Description |
---|---|
ClassContent<BackgroundElement> |
Model.getBackgroundElements() |
Constructor and Description |
---|
BackgroundElementGrafic(BackgroundElement backgroundElement,
java.lang.String viewId,
java.awt.Point middle,
java.awt.Color textColor)
Constructor for fixed size rectangle with text and transparent background
When in backgroundElement a name is set, then a border with the name is displayed.
|
BackgroundElementGrafic(BackgroundElement backgroundElement,
java.lang.String viewId,
java.awt.Point middle,
java.awt.Dimension size,
java.awt.Color background)
Constructor for fixed size rectangle without text
When in backgroundElement a name is set, then a border with the name is displayed.
|
BackgroundElementGrafic(BackgroundElement backgroundElement,
java.lang.String viewId,
java.awt.Point topLeft,
java.awt.Point bottomRight,
java.awt.Color background)
Constructor for dynamic size rectangle without text
When in backgroundElement a name is set, then a border with the name is displayed.
|
BackgroundElementGrafic(BackgroundElement backgroundElement,
java.lang.String viewId,
java.awt.Point topLeft,
java.awt.Point bottomRight,
java.awt.Point middle,
java.awt.Dimension size,
java.awt.Color textColor,
java.awt.Color background)
Constructor with all features
There a 2 possible cases:
(topLeft and bottomRight are both null) xor (middle and size are null)
When in backgroundElement a name is set, then a border with the name is displayed.
|