com.vaadin.polymer.paper.widget.PaperMenuShrinkHeightAnimation Maven / Gradle / Ivy
The newest version!
/*
* This code was generated with Vaadin Web Component GWT API Generator,
* from paper-menu-button project by The Polymer Authors
* that is licensed with http://polymer.github.io/LICENSE.txt license.
*/
package com.vaadin.polymer.paper.widget;
import com.vaadin.polymer.paper.*;
import com.vaadin.polymer.*;
import com.vaadin.polymer.elemental.*;
import com.vaadin.polymer.PolymerWidget;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.core.client.JavaScriptObject;
/**
*
*/
public class PaperMenuShrinkHeightAnimation extends PolymerWidget {
/**
* Default Constructor.
*/
public PaperMenuShrinkHeightAnimation() {
this("");
}
/**
* Constructor used by UIBinder to create widgets with content.
*/
public PaperMenuShrinkHeightAnimation(String html) {
super(PaperMenuShrinkHeightAnimationElement.TAG, PaperMenuShrinkHeightAnimationElement.SRC, html);
}
/**
* Gets a handle to the Polymer object's underlying DOM element.
*/
public PaperMenuShrinkHeightAnimationElement getPolymerElement() {
return (PaperMenuShrinkHeightAnimationElement) getElement();
}
/**
* Defines the animation timing.
*
* JavaScript Info:
* @property animationTiming
* @type Object
* @behavior PaperMenuShrinkHeightAnimation
*/
public JavaScriptObject getAnimationTiming() {
return getPolymerElement().getAnimationTiming();
}
/**
* Defines the animation timing.
*
* JavaScript Info:
* @property animationTiming
* @type Object
* @behavior PaperMenuShrinkHeightAnimation
*/
public void setAnimationTiming(JavaScriptObject value) {
getPolymerElement().setAnimationTiming(value);
}
/**
* Can be used to determine that elements implement this behavior.
*
* JavaScript Info:
* @property isNeonAnimation
* @type boolean
* @behavior PaperMenuShrinkHeightAnimation
*/
public boolean getIsNeonAnimation() {
return getPolymerElement().getIsNeonAnimation();
}
/**
* Can be used to determine that elements implement this behavior.
*
* JavaScript Info:
* @property isNeonAnimation
* @type boolean
* @behavior PaperMenuShrinkHeightAnimation
*/
public void setIsNeonAnimation(boolean value) {
getPolymerElement().setIsNeonAnimation(value);
}
// Needed in UIBinder
/**
* Defines the animation timing.
*
* JavaScript Info:
* @attribute animation-timing
* @behavior PaperMenuShrinkHeightAnimation
*/
public void setAnimationTiming(String value) {
Polymer.property(this.getPolymerElement(), "animationTiming", value);
}
/**
* Sets transform
and transformOrigin
properties along with the prefixed versions.
*
* JavaScript Info:
* @method setPrefixedProperty
* @param {} node
* @param {} property
* @param {} value
* @behavior PaperMenuShrinkHeightAnimation
*
*/
public void setPrefixedProperty(Object node, Object property, Object value) {
getPolymerElement().setPrefixedProperty(node, property, value);
}
/**
* Returns the animation timing by mixing in properties from config
to the defaults defined
by the animation.
*
* JavaScript Info:
* @method timingFromConfig
* @param {} config
* @behavior PaperMenuShrinkHeightAnimation
*
*/
public void timingFromConfig(Object config) {
getPolymerElement().timingFromConfig(config);
}
/**
* Called when the animation finishes.
*
* JavaScript Info:
* @method complete
* @behavior PaperMenuShrinkHeightAnimation
*
*/
public void complete() {
getPolymerElement().complete();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy