import com.google.gwt.query.client.plugins.ajax.Ajax.Settings;
import com.google.gwt.query.client.plugins.deferred.Deferred;
import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.Easing;
-import com.google.gwt.query.client.plugins.effects.PropertiesAnimation.EasingCurve;
import com.google.gwt.query.client.plugins.effects.Transitions;
import com.google.gwt.query.client.plugins.events.EventsListener;
import com.google.gwt.query.client.plugins.widgets.WidgetsUtils;
*/
public static Class<Effects> Effects = com.google.gwt.query.client.plugins.Effects.Effects;
- /**
- * Static reference Transitions plugin
- */
- public static Class<Transitions> Transitions = com.google.gwt.query.client.plugins.effects.Transitions.Transitions;
-
/**
* Implementation engine used for CSS selectors.
*/
*
*/
public GQuery transition(Object stringOrProperties, int duration, int delay, Easing easing, Function... funcs) {
- return as(Transitions).transition(stringOrProperties, duration, easing, delay, funcs);
+ return as(Transitions.Transitions).transition(stringOrProperties, duration, easing, delay, funcs);
}
/**
});
private static String getVendorPropertyName(String prop) {
- if (JsUtils.hasProperty(divStyle, prop)) return prop;
+ if (JsUtils.hasProperty(divStyle, prop)) {
+ return prop;
+ }
String camelProp = JsUtils.camelize(prop);
- if (JsUtils.hasProperty(divStyle, camelProp)) return camelProp;
+ if (JsUtils.hasProperty(divStyle, camelProp)) {
+ return camelProp;
+ }
String vendorProp = prefix + camelProp;
- if (JsUtils.hasProperty(divStyle, vendorProp)) return vendorProp;
+ if (JsUtils.hasProperty(divStyle, vendorProp)) {
+ return vendorProp;
+ }
return null;
}