Examples of PhaseChangeMessage


Examples of org.aavso.tools.vstar.ui.mediator.message.PhaseChangeMessage

    // Create a phase change message so that existing plot and tables can
    // update their GUI components and/or models accordingly. Also,
    // recording the series visibility map permits the existence of a phase
    // change creation listener that collects phase change messages for the
    // purpose of later being able to re-create the same phase plot.
    PhaseChangeMessage phaseChangeMessage = new PhaseChangeMessage(this,
        period, epoch, seriesVisibilityMap);
    phaseChangeNotifier.notifyListeners(phaseChangeMessage);

    // Observation-and-mean table and plot.
    AnalysisTypeChangeMessage phasePlotMsg = new AnalysisTypeChangeMessage(
View Full Code Here

Examples of org.aavso.tools.vstar.ui.mediator.message.PhaseChangeMessage

    final PhaseDialog me = this;
    return new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        int selectedModelIndex = phaseList.getSelectedIndex();
        String desc = (String) phaseListModel.get(selectedModelIndex);
        PhaseChangeMessage changeMsg = phaseMap.get(desc);

        PhaseSelectionMessage selectionMsg = new PhaseSelectionMessage(
            me, changeMsg.getPeriod(), changeMsg.getEpoch(),
            changeMsg.getSeriesVisibilityMap());

        Mediator.getInstance().getPhaseSelectionNotifier()
            .notifyListeners(selectionMsg);
      }
    };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.