com.google.code.gwt.crop.client.ICropperStyleSource 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;
/**
* Interface is used to give different styles for different device types.
* Actual implementation could be defined through the deferred binding.
*
* @author [email protected] (Ilja Hämäläinen)
*
*/
public interface ICropperStyleSource {
/**
* Initiates proper implementation of the current style bundle.
*
* Create inner interface extending {@link com.google.gwt.resources.client.ClientBundle ClientBundle}
* with one single method, that returns the {@link com.google.code.gwt.crop.client.CropperStyleResource CropperStyleResource}
* type. Add the @Source("yourStyleFileName.css")
* annotation to this method to provide path to your CSS file.
*
* @return GWTCropperStyle instance of the ClientBundle style, annotated with your own CSS file name.
* @see StylesDesktopImpl.java as an example
*/
CropperStyleResource css();
}