public void setGlobalWatermarking(boolean globalWatermarking) { wms.getWatermark().setEnabled(globalWatermarking); //this.globalWatermarking = globalWatermarking; }
wm.setEnabled( (Boolean) props.get( "globalWatermarking" ) ); wm.setURL( (String) props.get("globalWatermarkingURL" ) ); wm.setTransparency( (Integer) props.get("globalWatermarkingTransparency") );
wm.setEnabled((Boolean) props.get("globalWatermarking")); wm.setURL((String) props.get("globalWatermarkingURL")); wm.setTransparency((Integer) props.get("globalWatermarkingTransparency"));