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

com.vaadin.polymer.paper.widget.event.PaperResponsiveChangeEvent 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 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.shared.GwtEvent;
import com.google.gwt.core.client.JavaScriptObject;

/**
 * 

Fired when the narrow layout changes.

*/ public class PaperResponsiveChangeEvent extends GwtEvent { public static Type TYPE = new Type(); private com.vaadin.polymer.paper.element.event.PaperResponsiveChangeEvent nativeEvent; public PaperResponsiveChangeEvent(com.vaadin.polymer.paper.element.event.PaperResponsiveChangeEvent nativeEvent) { this.nativeEvent = nativeEvent; } public Type getAssociatedType() { return TYPE; } protected void dispatch(PaperResponsiveChangeEventHandler handler) { handler.onPaperResponsiveChange(this); } public com.vaadin.polymer.paper.element.event.PaperResponsiveChangeEvent getNativeEvent() { return nativeEvent; } /** * */ public JavaScriptObject getDetail() { return getNativeEvent().getDetail().getDetail(); } /** *

narrow: true if the panel is in narrow layout.

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy