Interface MainSelectionPanel

All Known Implementing Classes:
AbstractMainSelectionPanel

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

public 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

public 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

public void createThirdPanel()
Create third panel.


setActionType

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


getSelectionPanel

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

Returns:
its selection panel.

getModelType

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

Returns:
a string represents model type.

getActionType

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

Returns:
a string represents action type.

updateSelections

public void updateSelections()
Update GUI components with proper data.


saveBasicOptionsToAlgorithmParams

public void saveBasicOptionsToAlgorithmParams()
Save options to glabal AlgorithmParams object.