Package scalaSci.math.plot.components

Examples of scalaSci.math.plot.components.PlotToolBar


   * the error output.
   */
  public void addPlotToolBar(String location) {
    if (location.equalsIgnoreCase(EAST)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(this);
      plotToolBar.setFloatable(false);
      add(plotToolBar, EAST);
    } else if (location.equalsIgnoreCase(SOUTH)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(this);
      plotToolBar.setFloatable(false);
      add(plotToolBar, SOUTH);
    } else if (location.equalsIgnoreCase(WEST)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(this);
      plotToolBar.setFloatable(false);
      add(plotToolBar, WEST);
    } else if (location.equalsIgnoreCase(NORTH)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(this);
      plotToolBar.setFloatable(false);
      add(plotToolBar, NORTH);
    } else
      System.err.println("Location " + location + " is unknown.");
  }
View Full Code Here


  }

        public void addPlotToolBar(String location, Plot2DPanel controledPanel) {
    if (location.equalsIgnoreCase(EAST)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(controledPanel);
      plotToolBar.setFloatable(false);
      add(plotToolBar, EAST);
    } else if (location.equalsIgnoreCase(SOUTH)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(controledPanel);
      plotToolBar.setFloatable(false);
      add(plotToolBar, SOUTH);
    } else if (location.equalsIgnoreCase(WEST)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(controledPanel);
      plotToolBar.setFloatable(false);
      add(plotToolBar, WEST);
    } else if (location.equalsIgnoreCase(NORTH)) {
      removePlotToolBar();
      plotToolBar = new PlotToolBar(this);
      plotToolBar.setFloatable(false);
      add(plotToolBar, NORTH);
    } else
      System.err.println("Location " + location + " is unknown.");
  }
View Full Code Here

TOP

Related Classes of scalaSci.math.plot.components.PlotToolBar

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.