@Override public void populateBean(IframeEditor e) { srcTextField.setText(e.getSrc()); parameterViewPane.populate(e.getParameters()); this.horizontalCheck.setSelected(e.isOverflowx()); this.verticalCheck.setSelected(e.isOverflowy()); }
@Override public IframeEditor updateBean() { IframeEditor ob = new IframeEditor(); ob.setSrc(srcTextField.getText()); List<ParameterProvider> parameterList = parameterViewPane.update(); ob.setParameters(parameterList.toArray(new ParameterProvider[parameterList.size()])); ob.setOverflowx(this.horizontalCheck.isSelected()); ob.setOverflowy(this.verticalCheck.isSelected()); return ob; }