Package org.aavso.tools.vstar.ui.mediator.message

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


          PeriodAnalysis2DPlotModel plotModel = (PeriodAnalysis2DPlotModel) dataset;
          dataPoint = plotModel.getDataPointFromItem(item);
        }
      }

      PeriodAnalysisSelectionMessage message = new PeriodAnalysisSelectionMessage(
          this, dataPoint, item);
      if (message != null) {
        Mediator.getInstance().getPeriodAnalysisSelectionNotifier()
            .notifyListeners(message);
      }
View Full Code Here


      int row = table.getSelectedRow();

      if (row >= 0) {
        row = table.convertRowIndexToModel(row);

        PeriodAnalysisSelectionMessage message = new PeriodAnalysisSelectionMessage(
            this, model.getDataPointFromRow(row), row);
        Mediator.getInstance().getPeriodAnalysisSelectionNotifier()
            .notifyListeners(message);
      }
    }
View Full Code Here

  @Override
  public void chartMouseClicked(ChartMouseEvent event) {
    if (event.getEntity() instanceof XYItemEntity) {
      XYItemEntity entity = (XYItemEntity) event.getEntity();
      int item = entity.getItem();
      PeriodAnalysisSelectionMessage message = new PeriodAnalysisSelectionMessage(
          this, model.getStats().get(item), item);
      Mediator.getInstance().getPeriodAnalysisSelectionNotifier()
          .notifyListeners(message);
    }
  }
View Full Code Here

      // Which row in the top hits table was selected?
      int row = table.getSelectedRow();

      if (row >= 0) {
        row = table.convertRowIndexToModel(row);
        PeriodAnalysisSelectionMessage message = new PeriodAnalysisSelectionMessage(
            this, model.getDataPointFromRow(row), row);
        Mediator.getInstance().getPeriodAnalysisSelectionNotifier()
            .notifyListeners(message);
      }
    }
View Full Code Here

      int row = table.getSelectedRow();

      if (row >= 0) {
        row = table.convertRowIndexToModel(row);

        PeriodAnalysisSelectionMessage message = new PeriodAnalysisSelectionMessage(
            this, model.getDataPointFromRow(row), row);
        Mediator.getInstance().getPeriodAnalysisSelectionNotifier()
            .notifyListeners(message);
      }
    }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.mediator.message.PeriodAnalysisSelectionMessage

Copyright © 2018 www.massapicom. 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.