com.google.code.gwt.crop.client.StylesDesktopImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gwt-crop Show documentation
Show all versions of gwt-crop Show documentation
GWT plugin for image cropping
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();
}
}