All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.code.gwt.crop.client.StylesDesktopImpl Maven / Gradle / Ivy

There is a newer version: 0.5.5
Show newest version
package com.google.code.gwt.crop.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;

/**
 * Implementation of the style bundle initializer for desktop
 * 
 * @author [email protected] (Ilja Hämäläinen)
 *
 */
class StylesDesktopImpl implements ICropperStyleSource {

	interface IStyleDesktop extends ClientBundle {
		
		@Source("GWTCropper.css")
		CropperStyleResource getStyles();
	}

	private final IStyleDesktop bundleResources = GWT.create(IStyleDesktop.class);
	
	/**
	 * {@inheritDoc}
	 */
	public CropperStyleResource css() {
		return bundleResources.getStyles();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy