public void createViewBasedOnConfiguration() {
		// set default values, when appropriate
		arrowCheckBox.setValue(super.isWithArrow());
		scaleBarBox.setValue(super.isWithScaleBar());
		dpiTextBox.setText(super.getDpi() + "");
		rasterDpiTextBox.setText(super.getRasterDpi() + "");
		if (super.isLandscape()) {
			optionLandscapeOrientation.setValue(true);
		} else {
			optionPortraitOrientation.setValue(true);
		}
		postPrintActionRadioButtonMap.get(super.getPostPrintAction()).setValue(true);

		// show/hide option sections
		titleSection.setVisible(getOptionsToShowConfiguration().isShowTitleOption());
		orientationSection.setVisible(getOptionsToShowConfiguration().isShowLandscapeOption());
		pageSizeSection.setVisible(getOptionsToShowConfiguration().isShowPageSizeOption());
		withArrowSection.setVisible(getOptionsToShowConfiguration().isShowWithArrowOption());
		withScaleBarSection.setVisible(getOptionsToShowConfiguration().isShowWithScaleBarOption());
		dpiSection.setVisible(getOptionsToShowConfiguration().isShowDpiOption());
		rasterDpiSection.setVisible(getOptionsToShowConfiguration().isShowRasterDpiOption());
		postPrintActionSection.setVisible(getOptionsToShowConfiguration().isShowPostPrintActionOption());
		fileNameSection.setVisible(getOptionsToShowConfiguration().isShowFileNameOption());
		syncSection.setVisible(getOptionsToShowConfiguration().isShowSyncOption());
	}
public void createViewBasedOnConfiguration ( ) { arrowCheckBox . setValue ( super . isWithArrow ( ) ) ; scaleBarBox . setValue ( super . isWithScaleBar ( ) ) ; dpiTextBox . setText ( super . getDpi ( ) + "" ) ; rasterDpiTextBox . setText ( super . getRasterDpi ( ) + "" ) ; if ( super . isLandscape ( ) ) { optionLandscapeOrientation . setValue ( true ) ; } else { optionPortraitOrientation . setValue ( true ) ; } postPrintActionRadioButtonMap . get ( super . getPostPrintAction ( ) ) . setValue ( true ) ; titleSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowTitleOption ( ) ) ; orientationSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowLandscapeOption ( ) ) ; pageSizeSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowPageSizeOption ( ) ) ; withArrowSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowWithArrowOption ( ) ) ; withScaleBarSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowWithScaleBarOption ( ) ) ; dpiSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowDpiOption ( ) ) ; rasterDpiSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowRasterDpiOption ( ) ) ; postPrintActionSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowPostPrintActionOption ( ) ) ; fileNameSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowFileNameOption ( ) ) ; syncSection . setVisible ( getOptionsToShowConfiguration ( ) . isShowSyncOption ( ) ) ; }
Method to set the visibility of the view and thereby 'redrawing' it. Make sure to call after changing the
{@link OptionsToShowConfiguration}.