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

com.vaadin.polymer.paper.widget.event.PaperResponsiveChangeEvent Maven / Gradle / Ivy

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

import com.google.gwt.event.dom.client.DomEvent;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

Fired when the narrow layout changes.

*/ public class PaperResponsiveChangeEvent extends DomEvent { public static Type TYPE = new Type( com.vaadin.polymer.paper.event.PaperResponsiveChangeEvent.NAME, new PaperResponsiveChangeEvent()); public PaperResponsiveChangeEvent() { } public Type getAssociatedType() { return TYPE; } protected void dispatch(PaperResponsiveChangeEventHandler handler) { handler.onPaperResponsiveChange(this); } public com.vaadin.polymer.paper.event.PaperResponsiveChangeEvent getPolymerEvent() { return (com.vaadin.polymer.paper.event.PaperResponsiveChangeEvent)super.getNativeEvent(); } /** * */ public JavaScriptObject getDetail() { return getPolymerEvent().getDetail().getDetail(); } /** *

narrow: true if the panel is in narrow layout.

*/ public boolean getNarrow() { return getPolymerEvent().getDetail().getNarrow(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy