|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmain.GeneNet
GeneNet.java The MainClass.
Field Summary | |
main.GeneNet.SymAction |
actor
|
ModelIterator |
ItsIterator
The iterator if any for this model |
Model |
model
|
static GeneNet |
TheGeneNet
|
static MainGui |
TheMainGui
The main Graphical User Interface |
static Model |
TheModel
|
Fields inherited from interface genegui.GuiInterface |
ADDED, CHANGED, CLOSE, EXIT, IS_ITERATOR, IS_MODEL, ITERATOR_STARTED, ITERATOR_STOPPED, MODEL_STARTED, MODEL_STOPPED, NEW, OPEN, PARAMETER_ADDED, PARAMETER_CHANGED, PARAMETER_REMOVED, PARAMETER_SET_CHANGED, REMOVED, RESET_ITERATOR, RESET_MODEL, RUN_ITERATOR, RUN_MODEL, SAVE, STEP_ITERATOR, STEP_MODEL, STOP_ITERATOR |
Constructor Summary | |
GeneNet()
|
Method Summary | |
void |
addNetworkListener(main.event.NetworkEventListener listener)
|
void |
affectorTemplateChanged(int operation,
AffectorTemplate affectorTemplate,
GuiInterface source)
Called when a change is made to the passed AffectorTemplate |
static void |
close()
Do a tidy shutdown of the program |
ModelIterator |
getIterator()
Returns the ModelIterator. |
Model |
getModel()
Returns the Model loaded in this GeneNet. |
Network |
getNetwork()
Returns the Network for the Model loaded in this GeneNet. |
NetworkFile |
getNetworkFile()
|
boolean |
isIteratorRunning()
|
boolean |
isModelRunning()
|
static void |
main(java.lang.String[] args)
|
boolean |
networkIO(int operation,
java.io.File file)
Method for invoking general network IO operations. |
void |
nodeTemplateChanged(int operation,
NodeTemplate nodeTemplate,
GuiInterface source)
Called when a change is made to the passed NodeTemplate |
void |
parameterSetChanged(int operation,
int parameterNumber,
GuiInterface source)
Called when a change is made to a parameter or the whole parameter set |
void |
removeNetworkListener(main.event.NetworkEventListener listener)
|
void |
run()
|
void |
runControl(int operation)
Method for controling model/iterator runs. |
void |
runStatus(int operation)
Method for reporting status of the model/iterator runs |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public ModelIterator ItsIterator
public static GeneNet TheGeneNet
public static MainGui TheMainGui
public static Model TheModel
public Model model
public main.GeneNet.SymAction actor
Constructor Detail |
public GeneNet()
Method Detail |
public static void main(java.lang.String[] args)
public static void close()
public ModelIterator getIterator()
public Model getModel()
public Network getNetwork()
public NetworkFile getNetworkFile()
public boolean isIteratorRunning()
public boolean isModelRunning()
public void run()
run
in interface java.lang.Runnable
public void addNetworkListener(main.event.NetworkEventListener listener)
public void removeNetworkListener(main.event.NetworkEventListener listener)
public void affectorTemplateChanged(int operation, AffectorTemplate affectorTemplate, GuiInterface source)
affectorTemplateChanged
in interface GuiInterface
public boolean networkIO(int operation, java.io.File file)
networkIO
in interface GuiInterface
public void nodeTemplateChanged(int operation, NodeTemplate nodeTemplate, GuiInterface source)
nodeTemplateChanged
in interface GuiInterface
public void parameterSetChanged(int operation, int parameterNumber, GuiInterface source)
parameterSetChanged
in interface GuiInterface
public void runControl(int operation)
runControl
in interface GuiInterface
public void runStatus(int operation)
runStatus
in interface GuiInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |