RotationListener.java revision 4632
4491N/A/*
4491N/A * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
4491N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4491N/A *
4491N/A * This code is free software; you can redistribute it and/or modify it
4491N/A * under the terms of the GNU General Public License version 2 only, as
4491N/A * published by the Free Software Foundation. Oracle designates this
4491N/A * particular file as subject to the "Classpath" exception as provided
4491N/A * by Oracle in the LICENSE file that accompanied this code.
4491N/A *
4491N/A * This code is distributed in the hope that it will be useful, but WITHOUT
4491N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4491N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4491N/A * version 2 for more details (a copy is included in the LICENSE file that
4491N/A * accompanied this code).
4491N/A *
4491N/A * You should have received a copy of the GNU General Public License version
4491N/A * 2 along with this work; if not, write to the Free Software Foundation,
4491N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4491N/A *
4491N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4491N/A * or visit www.oracle.com if you need additional information or have any
4491N/A * questions.
0N/A */
1627N/A
1627N/Apackage com.apple.eawt.event;
0N/A
0N/A/**
0N/A * Listener interface for receiving rotation events.
0N/A *
0N/A * @see RotationEvent
0N/A * @see GesturePhaseListener
0N/A * @see GestureUtilities
0N/A *
0N/A * @since Java for Mac OS X 10.5 Update 7, Java for Mac OS X 10.6 Update 2
0N/A */
0N/Apublic interface RotationListener extends GestureListener {
0N/A /**
0N/A * Invoked when a rotation gesture is performed by the user.
0N/A * @param event containing an abstract measure of rotation.
0N/A */
0N/A public void rotate(final RotationEvent e);
0N/A}
0N/A