Package org.aavso.tools.vstar.ui

Examples of org.aavso.tools.vstar.ui.NamedComponent


      plot = topHitsPlot;

      String tabName = model.getRangeType() + " vs "
          + model.getDomainType();

      namedComponents.add(new NamedComponent(tabName, plot));
      plotPanes.add(plot);
    }

    // Add data table view.
    dataTablePane = new PeriodAnalysisDataTablePane(dataTableModel,
        algorithm);
    namedComponents.add(new NamedComponent(LocaleProps.get("DATA_TAB"),
        dataTablePane));

    // Add top-hits table view.
    topHitsTablePane = new PeriodAnalysisTopHitsTablePane(
        topHitsTableModel, dataTableModel, algorithm);
    namedComponents.add(new NamedComponent(LocaleProps.get("TOP_HITS_TAB"),
        topHitsTablePane));

    return PluginComponentFactory.createTabs(namedComponents);
  }
View Full Code Here


        JTextArea textArea = new JTextArea(model.getFunctionStrings()
            .get(funcKey));
        textArea.setBorder(BorderFactory.createTitledBorder(funcKey));
        textArea.setEditable(false);
        JScrollPane scrollPane = new JScrollPane(textArea);
        namedComponents.add(new NamedComponent(funcKey, scrollPane));
      }
    }

    JTabbedPane tabs = PluginComponentFactory.createTabs(namedComponents);
    topPane.add(tabs);
View Full Code Here

          columns, algorithm.getTopHits());
      topHitsTablePane = new NoModelPeriodAnalysisTopHitsTablePane(
          topHitsModel, resultsModel, algorithm);

      // Return tabbed pane of plot and period display component.
      return PluginComponentFactory.createTabs(new NamedComponent(
          "Periodogram", plotPane), new NamedComponent("Results",
          resultsTablePane), new NamedComponent("Top Hits",
          topHitsTablePane));
    }
View Full Code Here

      // Random period label component.
      JPanel randomPeriod = new RandomPeriodComponent(this);

      // Return tabbed pane of plot and period display component.
      return PluginComponentFactory.createTabs(new NamedComponent("Plot",
          plot), new NamedComponent("Data", table),
          new NamedComponent("Random Period", randomPeriod));
    }
View Full Code Here

    // Tables for all and maximal statistics.
    WWZDataTablePane dataPane = new WWZDataTablePane(new WWZDataTableModel(
        wwt.getStats(), wwt));
    startupAndCleanupComponents.add(dataPane);
    namedComponents.add(new NamedComponent(LocaleProps.get("WWZ_RESULTS"),
        dataPane));

    WWZDataTablePane maximalPane = new WWZDataTablePane(
        new WWZDataTableModel(wwt.getMaximalStats(), wwt));
    startupAndCleanupComponents.add(maximalPane);
    namedComponents.add(new NamedComponent(LocaleProps
        .get("MAXIMAL_WWZ_RESULTS"), maximalPane));

    return PluginComponentFactory.createTabs(namedComponents);
  }
View Full Code Here

    maxRange += rangeMargin;

    WWZPlotPane pane = new WWZPlotPane(chart2, model, minRange, maxRange);
    startupAndCleanupComponents.add(pane);

    return new NamedComponent(name, pane);
  }
View Full Code Here

        + " " + LocaleProps.get("CONTOUR");

    WWZPlotPane pane = new WWZPlotPane(chart, model, minRange, maxRange);
    startupAndCleanupComponents.add(pane);

    return new NamedComponent(name, pane);
  }
View Full Code Here

    String name = yType.toString() + " " + LocaleProps.get("VERSUS") + " "
        + xType.toString() + " " + LocaleProps.get("VERSUS") + " "
        + zType.toString() + " 3D " + suffix;

    return new NamedComponent(name, plot);
  }
View Full Code Here

  public void showPlotControlDialog() {
    String title = null;
    ObservationAndMeanPlotPane plotPane = analysisTypeMap.get(analysisType)
        .getObsAndMeanChartPane();
    TimeElementsInBinSettingPane binSettingPane = null;
    NamedComponent extra = null;

    if (analysisType == AnalysisType.RAW_DATA) {
      title = LocaleProps.get("LIGHT_CURVE_CONTROL_DLG_TITLE");
      binSettingPane = new TimeElementsInBinSettingPane(LocaleProps
          .get("DAYS_PER_MEAN_SERIES_BIN"), plotPane,
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.NamedComponent

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.