Package | Description |
---|---|
desmoj.extensions.visualization2d.engine.command |
Read and write animation command (cmds) files.
|
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.
|
desmoj.extensions.visualization2d.engine.viewer |
A swing Application to view a simulation's animation.
|
Modifier and Type | Method and Description |
---|---|
void |
Command.execute(Model model)
This method describes for every command-type, how it's modeled in animation.model.Model.
|
Constructor and Description |
---|
CommandSequence(Model model,
java.io.PrintWriter logFile)
Class to read and write cmdfiles
|
Modifier and Type | Method and Description |
---|---|
Model |
BackgroundElement.getModel() |
Model |
BackgroundLine.getModel() |
Model |
Basic.getModel() |
Model |
Bin.getModel() |
Model |
Container.getModel() |
Model |
Entity.getModel() |
Model |
List.getModel() |
Model |
Process.getModel() |
Model |
ProcessNew.getModel() |
Model |
Resource.getModel() |
Model |
Station.getModel() |
Model |
Statistic.getModel() |
Model |
Stock.getModel() |
Model |
WaitingQueue.getModel() |
Model |
EntityType.getModell() |
Constructor and Description |
---|
BackgroundElement(Model model,
java.lang.String id,
java.lang.String text,
int textSize,
int textStyle,
double level,
java.lang.String imageId)
Background element to paint a string
|
BackgroundElement(Model model,
java.lang.String id,
java.lang.String text,
int textPosition,
int textSize,
int textStyle,
double level,
java.lang.String imageId)
Background element with all features
|
BackgroundLine(Model model,
java.lang.String id,
int lineSize,
double level)
Background element to paint a line
|
Bin(Model model,
java.lang.String id,
long initialValue) |
Container(Model model,
java.lang.String id) |
Entity(Model model,
java.lang.String id,
java.lang.String entityTypeId,
java.lang.String state,
long time)
An new entity will indexed automaticly in classContent hashtable
|
EntityType(java.lang.String id,
Model model,
int width,
int height,
Attribute[] posStates,
java.lang.String[] posAttr,
int show) |
List(Model model,
java.lang.String praefix,
java.lang.String id) |
Process(Model model,
java.lang.String id,
int anz_ResourceEntities,
int anz_ProcessEntities,
java.lang.String listId) |
ProcessNew(Model model,
java.lang.String praefix,
java.lang.String id,
java.lang.String listId)
Constructor of an non-abstract Processes.
|
ProcessNew(Model model,
java.lang.String praefix,
java.lang.String id,
java.lang.String resourceType,
int resourceTotal,
java.lang.String listId)
Constructor of abstract Processes.
|
Resource(Model model,
java.lang.String id,
java.lang.String resourceType,
int resourceTotal)
Constructor, a Resource contains a List and a ProcessNew instance.
|
Route(Model model,
java.lang.String id,
java.lang.String sourceId,
java.lang.String sinkId,
double length)
Route from sourceId to sinkId with length
|
Station(Model model,
java.lang.String id) |
Statistic(Model model,
java.lang.String id,
int typeData,
int typeIndex,
boolean aggregate,
long timeLow,
long timeHigh,
double valueLow,
double valueHigh,
int histogramCells)
Constructor
|
Stock(Model model,
java.lang.String id,
long capacity,
long initialValue) |
WaitingQueue(Model model,
java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
static java.awt.Rectangle |
BackgroundElementGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all entities in view
|
static java.awt.Rectangle |
BackgroundLineGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all entities in view
|
static java.awt.Rectangle |
BinGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all bins in view
|
static java.awt.Rectangle |
EntityGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all entities in view
|
static java.awt.Rectangle |
ListGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all listElements in view
|
static java.awt.Rectangle |
ProcessGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all processElements in view
|
static java.awt.Rectangle |
ProcessNewGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all listElements in view
|
static java.awt.Rectangle |
ResourceGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all resources in view
|
static java.awt.Rectangle |
RouteGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all routes in view
|
static java.awt.Rectangle |
StationGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all stations in view
|
static java.awt.Rectangle |
StatisticGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all statistics in view
|
static java.awt.Rectangle |
StockGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all stocks in view
|
static java.awt.Rectangle |
WaitingQueueGrafic.getBoundsExternGlobal(Model model,
java.lang.String viewId)
Construct the smallest rectangle,
which include the positions of all waiting queues in view
|
static java.lang.String[] |
BackgroundElementGrafic.getViews(Model model)
get all views (viewId's) with BackgroundElements
|
static java.lang.String[] |
BackgroundLineGrafic.getViews(Model model)
get all views (viewId's) with BackgroundLines
|
static java.lang.String[] |
BinGrafic.getViews(Model model)
get all views (viewId's) with Bin's
|
static java.lang.String[] |
EntityGrafic.getViews(Model model)
get all views (viewId's) with Entities
|
static java.lang.String[] |
ListGrafic.getViews(Model model)
get all views (viewId's) with Lists
|
static java.lang.String[] |
ProcessGrafic.getViews(Model model)
get all views (viewId's) with Process
|
static java.lang.String[] |
ProcessNewGrafic.getViews(Model model)
get all views (viewId's) with Process
|
static java.lang.String[] |
ResourceGrafic.getViews(Model model)
get all views (viewId's) with Resources
|
static java.lang.String[] |
RouteGrafic.getViews(Model model)
get all views (viewId's) with Route
|
static java.lang.String[] |
StationGrafic.getViews(Model model)
get all views (viewId's) with Stations
|
static java.lang.String[] |
StatisticGrafic.getViews(Model model)
get all views (viewId's) with Statistic
|
static java.lang.String[] |
StockGrafic.getViews(Model model)
get all views (viewId's) with Stock
|
static java.lang.String[] |
WaitingQueueGrafic.getViews(Model model)
get all views (viewId's) with WaitingQueue
|
static void |
BackgroundElementGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
called by ViewGrafic.updateInit
|
static void |
BackgroundLineGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
called by ViewGrafic.updateInit
|
static void |
BinGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
Initialize resource panel
|
static void |
EntityGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel) |
static void |
ListGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel) |
static void |
ResourceGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
Initialize resource panel
|
static void |
StationGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel) |
static void |
StatisticGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
Put all StatisticGrafic instances into panel.
|
static void |
StockGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
Initialize resource panel
|
static void |
WaitingQueueGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent panel)
Initialize WaitingQueue panel
|
static void |
ProcessGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent processPanel,
javax.swing.JComponent linePanel) |
static void |
ProcessNewGrafic.updateInit(Model model,
java.lang.String viewId,
javax.swing.JComponent processPanel,
javax.swing.JComponent linePanel)
initialize process- and line-panel
|
static void |
RouteGrafic.updateInit(Model model,
java.lang.String viewId,
long time)
called by ViewGrafic by view or zoom change
|
Constructor and Description |
---|
ModelGrafic(Model model) |
RouteDynamicComponent(Model model,
java.lang.String viewId,
java.awt.Rectangle bound) |
RouteStaticComponent(Model model,
java.lang.String viewId,
java.awt.Rectangle bound) |
ViewGrafic(Model model,
java.lang.String viewId) |
ZoomMarker(Model model,
java.lang.String viewId,
java.awt.Point point) |
Modifier and Type | Method and Description |
---|---|
Model |
ViewerPanel.getModel() |