/** * clear the files from the table */ public void clearFiles() { tableModel.clearData(); }
/** * Clear all rows from the table. T.Elanjchezhiyan(chezhiyan@siptech.co.in) */ public void clear() { tableModel.clearData(); }
@Override public void clearGui() { this.model.clearData(); }
@Override public void actionPerformed(ActionEvent e) { model.clearData(); upButton.setEnabled(false); downButton.setEnabled(false); } }
@Override public void clearData() { results.setText("");// Response Data // $NON-NLS-1$ headerData.setInitialText(""); // $NON-NLS-1$ requestPanel.clearData();// Request Data // $NON-NLS-1$ stats.setText(""); // Sampler result // $NON-NLS-1$ resultModel.clearData(); resHeadersModel.clearData(); resFieldsModel.clearData(); }
/** * Clear all rows from the table. */ public void clear() { GuiUtils.stopTableEditing(table); tableModel.clearData(); }
/** * Clear all rows from the table. T.Elanjchezhiyan(chezhiyan@siptech.co.in) */ public void clear() { GuiUtils.stopTableEditing(table); tableModel.clearData(); }
public void setRows(Iterable<?> rows) { // used by TableEditor clearData(); for(Object val : rows) { addRow(val); } } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public void clearData() { synchronized (lock) { model.clearData(); tableRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator( TOTAL_ROW_LABEL)); model.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public void clearData() { synchronized (lock) { model.clearData(); tableRows.clear(); newRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator(TOTAL_ROW_LABEL)); model.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public final void clearData() { synchronized (tableRows) { statModel.clearData(); tableRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator(TOTAL_ROW_LABEL)); statModel.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public void clearData() { synchronized (lock) { model.clearData(); tableRows.clear(); newRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator(TOTAL_ROW_LABEL)); model.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public final void clearData() { synchronized (tableRows) { statModel.clearData(); tableRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator(TOTAL_ROW_LABEL)); statModel.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
@Override public synchronized void clearData() { synchronized (calc) { model.clearData(); calc.clear(); newRows.clear(); noSamplesField.setText("0"); // $NON-NLS-1$ dataField.setText("0"); // $NON-NLS-1$ averageField.setText("0"); // $NON-NLS-1$ deviationField.setText("0"); // $NON-NLS-1$ } repaint(); }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public void clearData() { synchronized (lock) { model.clearData(); tableRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new SamplingStatCalculator( TOTAL_ROW_LABEL)); model.addRow(tableRows.get(TOTAL_ROW_LABEL)); } }
/** * Clears this visualizer and its model, and forces a repaint of the table. */ @Override public void clearData() { //Synch is needed because a clear can occur while add occurs synchronized (lock) { model.clearData(); newRows.clear(); tableRows.clear(); tableRows.put(TOTAL_ROW_LABEL, new Calculator(TOTAL_ROW_LABEL)); model.addRow(tableRows.get(TOTAL_ROW_LABEL)); } dataChanged = true; }
/** * A newly created component can be initialized with the contents of a * HTTPSamplerBase object by calling this method. The component is responsible for * querying the Test Element object for the relevant information to display * in its GUI. * * @param testElement the HTTPSamplerBase to be used to configure the GUI */ public void configure(TestElement testElement) { if (testElement instanceof HTTPSamplerBase) { HTTPSamplerBase base = (HTTPSamplerBase) testElement; tableModel.clearData(); for(HTTPFileArg file : base.getHTTPFiles()){ tableModel.addRow(file); } checkDeleteAndBrowseStatus(); } }
/** * A newly created component can be initialized with the contents of a Test * Element object by calling this method. The component is responsible for * querying the Test Element object for the relevant information to display * in its GUI. * * @param el the TestElement to configure */ @Override public void configure(TestElement el) { super.configure(el); if (el instanceof Arguments) { tableModel.clearData(); for (JMeterProperty jMeterProperty : (Arguments) el) { Argument arg = (Argument) jMeterProperty.getObjectValue(); tableModel.addRow(arg); } } checkButtonsStatus(); }
@Override public void configure(TestElement el) { super.configure(el); if (el instanceof Arguments) { tableModel.clearData(); HTTPArgument.convertArgumentsToHTTP((Arguments) el); for (JMeterProperty jMeterProperty : ((Arguments) el).getArguments()) { HTTPArgument arg = (HTTPArgument) jMeterProperty.getObjectValue(); tableModel.addRow(arg); } } checkButtonsStatus(); }