Package jmt.engine.jwat.workloadAnalysis.utils

Examples of jmt.engine.jwat.workloadAnalysis.utils.ChangeVariableListener


    this.setMarksStyle("various", 1);
    this.setColors(new Color[] {Color.BLUE});
    this.model = model;
    this.data = model.getListObservations();
   
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        drawGraph();
      }
    });
    this.addMouseListener(this);
View Full Code Here


    else {
      this.setColors(new Color[] {Color.BLUE});
    }

   
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        drawGraph();
      }
    });
    this.addMouseListener(this);
View Full Code Here

    this.setConnected(false, 1);
    this.setMarksStyle("various", 1);
    this.setConnected(true, 2);
    this.setMarksStyle("point", 2);
    this.setColors(new Color[] { Color.RED, Color.BLUE });
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        drawGraph();
      }
    });
    this.addMouseListener(this);
View Full Code Here

    c1 = ((ClusteringInfosFuzzy) ((FuzzyKMean) (model.getListOfClustering().get(clustering))).getClusteringInfos(curClust)).getAssignment();
    xVar = x;
    yVar = y;
    this.model = (ModelWorkloadAnalysis) model.getDataModel();
    this.session = session;
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        first = true;
        xMin = FuzzyKSingleClusterScatter.this.model.getMatrix().getVariables()[xVar].getUniStats().getMinValue();
        xMax = FuzzyKSingleClusterScatter.this.model.getMatrix().getVariables()[xVar].getUniStats().getMaxValue();
        yMin = FuzzyKSingleClusterScatter.this.model.getMatrix().getVariables()[yVar].getUniStats().getMinValue();
View Full Code Here

    this.setConnected(false, 1);
    this.setMarksStyle("various", 1);
    this.setConnected(true, 2);
    this.setMarksStyle("point", 2);
    this.setColors(new Color[] { Color.RED, Color.BLUE });
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        drawGraph();
      }
    });
    this.addMouseListener(this);
View Full Code Here

   * @param var
   */
  public EnlargePlotDistGraph(ModelWorkloadAnalysis model, int var) {
    this.var = var;
    this.model = model;
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        drawGraph();
      }
    });
    this.addMouseListener(this);
View Full Code Here

    c1 = ((ClusteringInfosFuzzy) ((FuzzyKMean) (model.getListOfClustering().get(clustering))).getClusteringInfos(curClust)).getAssignment();
    xVar = x;
    yVar = y;
    this.model = (ModelWorkloadAnalysis) model.getDataModel();
    this.session = model;
    this.model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        first = true;
        xMin = KFuzzyScatter.this.model.getMatrix().getVariables()[xVar].getUniStats().getMinValue();
        xMax = KFuzzyScatter.this.model.getMatrix().getVariables()[xVar].getUniStats().getMaxValue();
        yMin = KFuzzyScatter.this.model.getMatrix().getVariables()[yVar].getUniStats().getMinValue();
View Full Code Here

          }
        }
      }
    });
    if (this.model != null) {
      this.model.addOnChangeVariableValue(new ChangeVariableListener() {
        public void onChangeVariableValues() {
          if (JWatUnivariateStatsTable.this.getSelectedRow() != -1) {
            if (graphF != null) {
              graphF.draw(JWatUnivariateStatsTable.this.model.getMatrix().getVariables()[(JWatUnivariateStatsTable.this
                  .getSelectedRow())], (JWatUnivariateStatsTable.this.getSelectedRow()));
View Full Code Here

    for (int i = 0; i < columnSizes.length; i++) {
      this.getColumnModel().getColumn(i).setPreferredWidth(columnSizes[i]);
    }
    this.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    if (this.model != null) {
      this.model.addOnChangeVariableValue(new ChangeVariableListener() {
        public void onChangeVariableValues() {
          if (JWatUnivariateStatsTable.this.getSelectedRow() != -1) {
            if (graphF != null) {
              graphF.draw(JWatUnivariateStatsTable.this.model.getMatrix().getVariables()[(JWatUnivariateStatsTable.this
                  .getSelectedRow())], (JWatUnivariateStatsTable.this.getSelectedRow()));
View Full Code Here

    mainbox.add(centralpanel);
    mainbox.add(Box.createVerticalStrut(15));
    mainbox.add(warningpanl);
    mainbox.add(Box.createVerticalStrut(15));
    /** Listener on trasformation per change label **/
    model.addOnChangeVariableValue(new ChangeVariableListener() {
      public void onChangeVariableValues() {
        if (varsList.getSelectedIndex() >= 0) {
          switch (model.getMatrix().getVariables()[varsList.getSelectedIndex()].getType()) {
            case STRING:
              varLabel.setText(HTML_START + HTML_FONT_NORM + "This is a String variable and it has been transformed has "
View Full Code Here

TOP

Related Classes of jmt.engine.jwat.workloadAnalysis.utils.ChangeVariableListener

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.