Example usage for java.awt.event MouseWheelEvent isConsumed

List of usage examples for java.awt.event MouseWheelEvent isConsumed

Introduction

In this page you can find the example usage for java.awt.event MouseWheelEvent isConsumed.

Prototype

public boolean isConsumed() 

Source Link

Document

Returns whether or not this event has been consumed.

Usage

From source file:org.kalypso.ogc.gml.widgets.WidgetManager.java

@Override
public void mouseWheelMoved(final MouseWheelEvent e) {
    final IWidget[] widgets = getWidgets();
    for (final IWidget widget : widgets) {
        widget.mouseWheelMoved(e);/*from   w  w w.  ja va  2s .co  m*/

        if (e.isConsumed())
            return;
    }
}