Interface MainSelectionPanel

All Known Implementing Classes:
AbstractMainSelectionPanel, HMMSelectionPanel, NHMMSelectionPanel

public interface MainSelectionPanel

MainSelectionPanel Interface It has the following implemented classes, HMMSelectionPanel, NHMMSelectionPanel, MIXTURESelectionPanel and NMIXTURESelectionPanel.

Author:
Lilin Song
See Also:
HMMSelectionPanel, NHMMSelectionPanel

Method Summary
 void createFirstPanel(java.awt.GridBagLayout layout, java.awt.GridBagConstraints c, AlgorithmParams ap)
          Create first panel.
 void createSecondPanel(java.awt.GridBagLayout layout, java.awt.GridBagConstraints c, AlgorithmParams ap)
          Create second panel.
 void createThirdPanel()
          Create third panel.
 java.lang.String getActionType()
          Get the Action type.
 java.lang.String getModelType()
          Get the Model type.
 javax.swing.JPanel getSelectionPanel()
          Get its SelectionPanel.
 void saveBasicOptionsToAlgorithmParams()
          Save options to glabal AlgorithmParams object.
 void setActionType(java.lang.String t)
          Set action type
 void updateSelections()
          Update GUI components with proper data.
 

Method Detail

createFirstPanel

void createFirstPanel(java.awt.GridBagLayout layout,
                      java.awt.GridBagConstraints c,
                      AlgorithmParams ap)
Create first panel.

Parameters:
layout - GridBagLayout object
c - GridBagConstraints object
ap - AlgorithmParmas object

createSecondPanel

void createSecondPanel(java.awt.GridBagLayout layout,
                       java.awt.GridBagConstraints c,
                       AlgorithmParams ap)
Create second panel.

Parameters:
layout - GridBagLayout object
c - GridBagConstraints object
ap - AlgorithmParmas object

createThirdPanel

void createThirdPanel()
Create third panel.


setActionType

void setActionType(java.lang.String t)
Set action type


getSelectionPanel

javax.swing.JPanel getSelectionPanel()
Get its SelectionPanel.

Returns:
its selection panel.

getModelType

java.lang.String getModelType()
Get the Model type.

Returns:
a string represents model type.

getActionType

java.lang.String getActionType()
Get the Action type.

Returns:
a string represents action type.

updateSelections

void updateSelections()
Update GUI components with proper data.


saveBasicOptionsToAlgorithmParams

void saveBasicOptionsToAlgorithmParams()
Save options to glabal AlgorithmParams object.