genegui
Interface GuiInterface

All Known Implementing Classes:
AffectorViewPanel, CellSurfaceViewer, GeneNet, MainGui, ModelStateEditor, ModelStateNodePalette, ModelStateView, NetworkViewer2, NodeStateViewer, NodeViewPanel, ParameterViewer, TimeGraph

public interface GuiInterface

GuiInterface.java This interface provides all the methods that need to be implemeted by classes in the GUI that need to respond to changes in the node and effector templates, parameter set or over-all network or cell surface layout.


Field Summary
static int ADDED
          Static values for affector/node template change
static int CHANGED
           
static int CLOSE
          Static values for newtworkIO operations
static int EXIT
           
static int IS_ITERATOR
           
static int IS_MODEL
           
static int ITERATOR_STARTED
           
static int ITERATOR_STOPPED
           
static int MODEL_STARTED
           
static int MODEL_STOPPED
           
static int NEW
           
static int OPEN
           
static int PARAMETER_ADDED
          Static values for parameter set change operation
static int PARAMETER_CHANGED
           
static int PARAMETER_REMOVED
           
static int PARAMETER_SET_CHANGED
           
static int REMOVED
           
static int RESET_ITERATOR
           
static int RESET_MODEL
           
static int RUN_ITERATOR
           
static int RUN_MODEL
          Static values for runControl operations
static int SAVE
           
static int STEP_ITERATOR
           
static int STEP_MODEL
           
static int STOP_ITERATOR
           
 
Method Summary
 void affectorTemplateChanged(int operation, AffectorTemplate affectorTemplate, GuiInterface source)
          Called when a change is made to the passed AffectorTemplate
 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 runControl(int operation)
          Method for controling model/iterator runs.
 void runStatus(int operation)
          Method for reporting status of the model/iterator runs
 

Field Detail

ADDED

public static final int ADDED
Static values for affector/node template change

See Also:
Constant Field Values

CHANGED

public static final int CHANGED
See Also:
Constant Field Values

REMOVED

public static final int REMOVED
See Also:
Constant Field Values

CLOSE

public static final int CLOSE
Static values for newtworkIO operations

See Also:
Constant Field Values

EXIT

public static final int EXIT
See Also:
Constant Field Values

IS_MODEL

public static final int IS_MODEL
See Also:
Constant Field Values

IS_ITERATOR

public static final int IS_ITERATOR
See Also:
Constant Field Values

NEW

public static final int NEW
See Also:
Constant Field Values

OPEN

public static final int OPEN
See Also:
Constant Field Values

SAVE

public static final int SAVE
See Also:
Constant Field Values

PARAMETER_ADDED

public static final int PARAMETER_ADDED
Static values for parameter set change operation

See Also:
Constant Field Values

PARAMETER_CHANGED

public static final int PARAMETER_CHANGED
See Also:
Constant Field Values

PARAMETER_SET_CHANGED

public static final int PARAMETER_SET_CHANGED
See Also:
Constant Field Values

PARAMETER_REMOVED

public static final int PARAMETER_REMOVED
See Also:
Constant Field Values

RUN_MODEL

public static final int RUN_MODEL
Static values for runControl operations

See Also:
Constant Field Values

STEP_MODEL

public static final int STEP_MODEL
See Also:
Constant Field Values

RESET_MODEL

public static final int RESET_MODEL
See Also:
Constant Field Values

RUN_ITERATOR

public static final int RUN_ITERATOR
See Also:
Constant Field Values

STEP_ITERATOR

public static final int STEP_ITERATOR
See Also:
Constant Field Values

STOP_ITERATOR

public static final int STOP_ITERATOR
See Also:
Constant Field Values

RESET_ITERATOR

public static final int RESET_ITERATOR
See Also:
Constant Field Values

MODEL_STARTED

public static final int MODEL_STARTED
See Also:
Constant Field Values

MODEL_STOPPED

public static final int MODEL_STOPPED
See Also:
Constant Field Values

ITERATOR_STARTED

public static final int ITERATOR_STARTED
See Also:
Constant Field Values

ITERATOR_STOPPED

public static final int ITERATOR_STOPPED
See Also:
Constant Field Values
Method Detail

affectorTemplateChanged

public void affectorTemplateChanged(int operation,
                                    AffectorTemplate affectorTemplate,
                                    GuiInterface source)
Called when a change is made to the passed AffectorTemplate


networkIO

public boolean networkIO(int operation,
                         java.io.File file)
Method for invoking general network IO operations.


nodeTemplateChanged

public void nodeTemplateChanged(int operation,
                                NodeTemplate nodeTemplate,
                                GuiInterface source)
Called when a change is made to the passed NodeTemplate


parameterSetChanged

public void parameterSetChanged(int operation,
                                int parameterNumber,
                                GuiInterface source)
Called when a change is made to a parameter or the whole parameter set


runControl

public void runControl(int operation)
Method for controling model/iterator runs.


runStatus

public void runStatus(int operation)
Method for reporting status of the model/iterator runs