public class Bin extends java.lang.Object implements Basic
Constructor and Description |
---|
Bin(Model model,
java.lang.String id,
long initialValue) |
Modifier and Type | Method and Description |
---|---|
Grafic |
createGrafic(java.lang.String viewId,
int x,
int y,
java.lang.String defaultEntityTypeId,
int anzVisible,
boolean horizontal,
java.awt.Dimension deltaSize)
create a StockGrafic
|
java.lang.String[][] |
getContentConsumer() |
long |
getCount() |
Grafic |
getGrafic()
get ProcessGrafic, created before
|
java.lang.String |
getId()
get id of stock
|
long |
getLwb() |
Model |
getModel() |
java.lang.String |
getName()
get name of bin
|
void |
reset() |
void |
retrieveBegin(java.lang.String entityId,
int priority,
long n,
java.lang.String priorityRule,
long time) |
void |
retrieveEnd(java.lang.String entityId,
long time) |
void |
setCount(long value,
boolean aggregate) |
void |
setName(java.lang.String name)
set name of stock
|
void |
store(java.lang.String entityId,
long n,
long time) |
public Bin(Model model, java.lang.String id, long initialValue)
model
- used animation.model.Modelid
- initialValue
- public java.lang.String getId()
getId
in interface ClassBasic
public void setName(java.lang.String name)
name
- public long getLwb()
public long getCount()
public void setCount(long value, boolean aggregate)
public java.lang.String[][] getContentConsumer()
public void reset()
public void retrieveBegin(java.lang.String entityId, int priority, long n, java.lang.String priorityRule, long time)
public void retrieveEnd(java.lang.String entityId, long time)
public void store(java.lang.String entityId, long n, long time)
public Grafic createGrafic(java.lang.String viewId, int x, int y, java.lang.String defaultEntityTypeId, int anzVisible, boolean horizontal, java.awt.Dimension deltaSize) throws ModelException
viewId
- Id of viewx
- middlepoint x-coordinatey
- middlepoint y-coordinatedefaultEntityTypeId
- for sizingModelException