|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface of the Control Object.
| Method Summary | |
void |
reset()
Method to reset all parts of the control panel. |
void |
setWaitState()
Method to show output like "waiting for data" after starting to connect to the Kernel. |
void |
shuttleChosen(java.lang.String shuttle,
int revenue)
Method to react on changings concerning a marked row in the shuttle table. |
void |
stationChosen(java.lang.String station,
int sellsFor)
Method to react on changings concerning a marked row in the stock table. |
void |
updateShuttleList(java.util.Map shuttleList)
Method to react on changings concerning the comapny's shuttles. |
void |
updateShuttleParams(float margin,
float minMargin,
float marginStep,
int riskFactor,
boolean selfAdopting)
make the strategy panel update its parameters when new parameters from shuttles are received |
void |
updateShuttleStock(java.util.Map shuttleStock)
Method to react on changings concerning the shuttle stock. |
| Method Detail |
public void reset()
public void setWaitState()
public void stationChosen(java.lang.String station,
int sellsFor)
station - the marked stationsellsFor - the price the station sells a shuttle for
public void shuttleChosen(java.lang.String shuttle,
int revenue)
shuttle - the marked shuttlerevenue - the sale revenue of the chosen shuttlepublic void updateShuttleStock(java.util.Map shuttleStock)
shuttleStock - the current shuttle stockpublic void updateShuttleList(java.util.Map shuttleList)
shuttleList - the current company's shuttle list
public void updateShuttleParams(float margin,
float minMargin,
float marginStep,
int riskFactor,
boolean selfAdopting)
margin - the margin that the shuttle shall use to calculate their
offersminMargin - the minimum margin to havemarginStep - the size of the steps between to possible marginsriskFactor - the risc factor of the shuttles: 0 low, 1 medium, 2 highselfAdopting -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||