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

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

There is a newer version: 0.5.5
Show newest version
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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy