Class DistributeExperimentPanel

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class DistributeExperimentPanel
    extends JPanel
    This panel enables an experiment to be distributed to multiple hosts; it also allows remote host names to be specified.
    Version:
    $Revision$
    Author:
    Mark Hall (mhall@cs.waikato.ac.nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • DistributeExperimentPanel

        public DistributeExperimentPanel()
        Constructor
      • DistributeExperimentPanel

        public DistributeExperimentPanel​(Experiment exp)
        Creates the panel with the supplied initial experiment.
        Parameters:
        exp - a value of type 'Experiment'
    • Method Detail

      • setExperiment

        public void setExperiment​(Experiment exp)
        Sets the experiment to be configured.
        Parameters:
        exp - a value of type 'Experiment'
      • distributedExperimentSelected

        public boolean distributedExperimentSelected()
        Returns true if the distribute experiment checkbox is selected
        Returns:
        true if the user has opted for distributing the experiment
      • addCheckBoxActionListener

        public void addCheckBoxActionListener​(ActionListener al)
        Enable objects to listen for changes to the check box
        Parameters:
        al - an ActionListener
      • main

        public static void main​(String[] args)
        Tests out the panel from the command line.
        Parameters:
        args - ignored.