|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.deepthought.sidious.gui.SidiousController
public class SidiousController
This class works as the controller for the model-view-controller hook into the planner.
Nested Class Summary | |
---|---|
static class |
SidiousController.PLAN_MODE
Enumeration to specify which plan to calculate. |
Field Summary | |
---|---|
private Display |
display
The displayed GUI. |
private Greenhouse |
requester
The the current greenhouse to calculate for. |
Constructor Summary | |
---|---|
SidiousController(SidiousController.PLAN_MODE mode)
Constructor. |
Method Summary | |
---|---|
private void |
bigger()
Calculate the bigger plan. |
void |
finished(Plan plan)
Sets the newly generated plan. |
static void |
main(java.lang.String[] args)
The main method. |
private void |
small()
Calculate the smaller plan. |
void |
start()
Starts the calculations. |
void |
stop()
Stop calculating. |
void |
vertex(Vertex vertex)
Sets the newly created vertex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Display display
private Greenhouse requester
Constructor Detail |
---|
public SidiousController(SidiousController.PLAN_MODE mode)
mode
- the plan mode to calculateMethod Detail |
---|
private void bigger()
private void small()
public void start()
public void vertex(Vertex vertex)
vertex
- the vertex that have been created in the model.public void finished(Plan plan)
plan
- the plan that have been generated in the model.public void stop()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |