示例#1
0
 public void configure(TestElement element) {
   super.configure(element);
   LineChart bc = (LineChart) element;
   xItems.setText(bc.getXAxis());
   yItems.setText(bc.getYAxis());
   xAxisLabel.setText(bc.getXLabel());
   yAxisLabel.setText(bc.getYLabel());
   caption.setText(bc.getCaption());
   urls.setText(bc.getURLs());
 }
示例#2
0
 public void modifyTestElement(TestElement element) {
   this.configureTestElement(element);
   LineChart bc = (LineChart) element;
   bc.setXAxis(xItems.getText());
   bc.setYAxis(yItems.getText());
   bc.setXLabel(xAxisLabel.getText());
   bc.setYLabel(yAxisLabel.getText());
   bc.setCaption(caption.getText());
   bc.setURLs(urls.getText());
 }