6323N/A/*
6323N/A * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
6323N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6323N/A *
6323N/A * This code is free software; you can redistribute it and/or modify it
6323N/A * under the terms of the GNU General Public License version 2 only, as
6323N/A * published by the Free Software Foundation. Oracle designates this
6323N/A * particular file as subject to the "Classpath" exception as provided
6323N/A * by Oracle in the LICENSE file that accompanied this code.
6323N/A *
6323N/A * This code is distributed in the hope that it will be useful, but WITHOUT
6323N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
6323N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
6323N/A * version 2 for more details (a copy is included in the LICENSE file that
6323N/A * accompanied this code).
6323N/A *
6323N/A * You should have received a copy of the GNU General Public License version
6323N/A * 2 along with this work; if not, write to the Free Software Foundation,
6323N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
6323N/A *
6323N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
6323N/A * or visit www.oracle.com if you need additional information or have any
6323N/A * questions.
6323N/A */
6323N/A
6323N/Apackage sun.lwawt;
6323N/A
6323N/Aimport java.awt.Rectangle;
6323N/A
6323N/Apublic interface PlatformEventNotifier {
6323N/A void notifyIconify(boolean iconify);
6323N/A
6323N/A void notifyZoom(boolean isZoomed);
6323N/A
6407N/A void notifyExpose(Rectangle r);
6323N/A
6323N/A void notifyReshape(int x, int y, int w, int h);
6323N/A
6323N/A void notifyUpdateCursor();
6323N/A
6407N/A void notifyActivation(boolean activation, LWWindowPeer opposite);
6323N/A
6323N/A // MouseDown in non-client area
6323N/A void notifyNCMouseDown();
6323N/A
6323N/A /*
6323N/A * Called by the delegate to dispatch the event to Java. Event
6323N/A * coordinates are relative to non-client window are, i.e. the top-left
6323N/A * point of the client area is (insets.top, insets.left).
6323N/A */
6323N/A void notifyMouseEvent(int id, long when, int button,
6323N/A int x, int y, int screenX, int screenY,
6323N/A int modifiers, int clickCount, boolean popupTrigger,
6323N/A byte[] bdata);
6323N/A
6323N/A void notifyMouseWheelEvent(long when, int x, int y, int modifiers,
6323N/A int scrollType, int scrollAmount,
6323N/A int wheelRotation, double preciseWheelRotation,
6323N/A byte[] bdata);
6323N/A /*
6323N/A * Called by the delegate when a key is pressed.
6323N/A */
6323N/A void notifyKeyEvent(int id, long when, int modifiers,
6323N/A int keyCode, char keyChar, int keyLocation);
6323N/A}