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

com.vaadin.polymer.reverse.widget.ReverseRippleAnimation Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from neon-animation project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.reverse.widget;

import com.vaadin.polymer.reverse.element.*;

import com.vaadin.polymer.PolymerWidget;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

<reverse-ripple-animation> scales and transform an element such that it appears to ripple down from this element, to either
a shared element, or a screen position.

*

If using as a shared element animation in <neon-animated-pages>, use this animation in an exit
animation in the source page and in an entry animation in the destination page. Also, define the
reverse-ripple elements in the sharedElements property (not a configuration property, see
Polymer.NeonSharedElementAnimatableBehavior).
If using a screen position, define the gesture property.
Configuration:

*
{
 *   name: 'reverse-ripple-animation`.
 *   id: <shared-element-id>, /* set this or gesture * /
 *   gesture: {x: <page-x>, y: <page-y>}, /* set this or id * /
 *   timing: <animation-timing>,
 *   toPage: <node>, /* define for the destination page * /
 *   fromPage: <node>, /* define for the source page * /
 * }
 * 
*/ public class ReverseRippleAnimation extends PolymerWidget { /** * Default Constructor. */ public ReverseRippleAnimation() { this(""); } /** * Constructor used by UIBinder to create widgets with content. */ public ReverseRippleAnimation(String html) { super(ReverseRippleAnimationElement.TAG, ReverseRippleAnimationElement.SRC, html); } /** * Gets a handle to the Polymer object's underlying DOM element. */ public ReverseRippleAnimationElement getPolymerElement() { try { return (ReverseRippleAnimationElement) getElement(); } catch (ClassCastException e) { jsinteropError(); return null; } } /** *

Defines the animation timing.

* * JavaScript Info: * @property animationTiming * @type Object * */ public JavaScriptObject getAnimationTiming(){ return getPolymerElement().getAnimationTiming(); } /** *

Defines the animation timing.

* * JavaScript Info: * @property animationTiming * @type Object * */ public void setAnimationTiming(JavaScriptObject value) { getPolymerElement().setAnimationTiming(value); } /** *

Defines the animation timing.

* * JavaScript Info: * @attribute animation-timing * */ public void setAnimationTiming(String value) { getPolymerElement().setAttribute("animation-timing", value); } /** * * * JavaScript Info: * @method complete * */ public void complete() { getPolymerElement().complete(); } /** *

Finds shared elements based on config.

* * JavaScript Info: * @method findSharedElements * @param {} config * */ public void findSharedElements(JavaScriptObject config) { getPolymerElement().findSharedElements(config); } /** *

Sets transform and transformOrigin properties along with the prefixed versions.

* * JavaScript Info: * @method setPrefixedProperty * @param {} node * @param {} property * @param {} value * */ public void setPrefixedProperty(JavaScriptObject node, JavaScriptObject property, JavaScriptObject value) { getPolymerElement().setPrefixedProperty(node, property, value); } /** *

Cached copy of shared elements.

* * JavaScript Info: * @property sharedElements * @type Object * */ public JavaScriptObject getSharedElements(){ return getPolymerElement().getSharedElements(); } /** *

Cached copy of shared elements.

* * JavaScript Info: * @property sharedElements * @type Object * */ public void setSharedElements(JavaScriptObject value) { getPolymerElement().setSharedElements(value); } /** *

Cached copy of shared elements.

* * JavaScript Info: * @attribute shared-elements * */ public void setSharedElements(String value) { getPolymerElement().setAttribute("shared-elements", value); } /** *

Returns the animation timing by mixing in properties from config to the defaults defined
by the animation.

* * JavaScript Info: * @method timingFromConfig * @param {} config * */ public void timingFromConfig(JavaScriptObject config) { getPolymerElement().timingFromConfig(config); } /** * * * JavaScript Info: * @method configure * @param {} config * */ public void configure(JavaScriptObject config) { getPolymerElement().configure(config); } /** * * * JavaScript Info: * @method registered * */ public void registered() { getPolymerElement().registered(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy