com.google.code.gwt.crop.client.StylesTabletImpl 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 tablets
*
* @author [email protected] (Ilja Hämäläinen)
*
*/
class StylesTabletImpl implements ICropperStyleSource {
private final IStyleTablet bundleResources = GWT.create(IStyleTablet.class);
interface IStyleTablet extends ClientBundle {
@Source("GWTCropperTablet.css")
CropperStyleResource getStyles();
}
/**
* {@inheritDoc}
*/
public CropperStyleResource css() {
return bundleResources.getStyles();
}
}