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

com.vaadin.polymer.iron.widget.IronOverlayBackdrop Maven / Gradle / Ivy

The newest version!
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from iron-overlay-behavior project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.iron.widget;

import com.vaadin.polymer.iron.*;

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;

/**
 * 

iron-overlay-backdrop is a backdrop used by Polymer.IronOverlayBehavior. It should be a
singleton.

*

Styling

*

The following custom properties and mixins are available for styling.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Custom propertyDescriptionDefault
--iron-overlay-backdrop-background-colorBackdrop background color#000
--iron-overlay-backdrop-opacityBackdrop opacity0.6
--iron-overlay-backdropMixin applied to iron-overlay-backdrop.{}
--iron-overlay-backdrop-openedMixin applied to iron-overlay-backdrop when it is displayed{}
*/ public class IronOverlayBackdrop extends PolymerWidget { /** * Default Constructor. */ public IronOverlayBackdrop() { this(""); } /** * Constructor used by UIBinder to create widgets with content. */ public IronOverlayBackdrop(String html) { super(IronOverlayBackdropElement.TAG, IronOverlayBackdropElement.SRC, html); } /** * Gets a handle to the Polymer object's underlying DOM element. */ public IronOverlayBackdropElement getPolymerElement() { return (IronOverlayBackdropElement) getElement(); } /** *

Returns true if the backdrop is opened.

* * JavaScript Info: * @property opened * @type Boolean * */ public boolean getOpened() { return getPolymerElement().getOpened(); } /** *

Returns true if the backdrop is opened.

* * JavaScript Info: * @property opened * @type Boolean * */ public void setOpened(boolean value) { getPolymerElement().setOpened(value); } /** *

Hides the backdrop.

* * JavaScript Info: * @method close * * */ public void close() { getPolymerElement().close(); } /** *

Removes the backdrop from document body if needed.

* * JavaScript Info: * @method complete * * */ public void complete() { getPolymerElement().complete(); } /** *

Shows the backdrop.

* * JavaScript Info: * @method open * * */ public void open() { getPolymerElement().open(); } /** *

Appends the backdrop to document body if needed.

* * JavaScript Info: * @method prepare * * */ public void prepare() { getPolymerElement().prepare(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy