Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapPrintWindow.java @ 5714:1103308b19ca
Add toJavaEncodedString function to encode strings in utf-16 notation
used by java. This fixes printing of unicode characters.
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 15 Apr 2013 11:34:28 +0200 |
parents | 98906446eadf |
children | 22e03ca8c39d |
line wrap: on
line source
package de.intevation.flys.client.client.ui.map; import com.smartgwt.client.widgets.Window; import com.google.gwt.core.client.GWT; import de.intevation.flys.client.shared.model.Collection; import de.intevation.flys.client.client.FLYSConstants; public class MapPrintWindow extends Window { protected FLYSConstants MSG = GWT.create(FLYSConstants.class); protected MapPrintPanel panel; public MapPrintWindow(Collection collection, MapToolbar mapToolbar) { setWidth(255); setHeight(280); setTitle(MSG.printWindowTitle()); centerInPage(); this.panel = new MapPrintPanel(collection, mapToolbar, this); this.panel.setPadding(20); addItem(this.panel); } }