Examples of SunJPEGFormatter


Examples of com.bbn.openmap.image.SunJPEGFormatter

     * @deprecated SaveAsVirtualImageMenuItem functionality has been
     *             merged into regular SaveAsImageMenuItem.
     * @return JMenuItem
     */
    public JMenuItem createSaveAsVirtualJpegMenuItem() {
        SunJPEGFormatter formatter = new SunJPEGFormatter();
        formatter.setImageQuality(1.0f);
        SaveAsVirtualImageMenuItem virtualJpegMenuItem = new SaveAsVirtualImageMenuItem("Custom JPEG...", formatter);

        if (getMapHandler() != null) {
            virtualJpegMenuItem.setMapHandler(getMapHandler());
        }
View Full Code Here

Examples of com.bbn.openmap.image.SunJPEGFormatter

* A JMenuItem that uses the MapHandler to find the MapBean and save
* an image of it in the JPEG format.
*/
public class SaveAsJpegMenuItem extends SaveAsImageMenuItem {
    public SaveAsJpegMenuItem() {
        super("JPEG", new SunJPEGFormatter());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.