0N/A/*
2362N/A * Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/Apackage sun.awt;
0N/A
0N/Aimport java.util.EventListener;
0N/A
0N/A/**
0N/A * The listener interface for receiving display change events.
0N/A * The class that is interested in processing a display change event
0N/A * implements this interface (and all the methods it
0N/A * contains).
0N/A *
0N/A * For Motif, this interface is only used for dragging windows between Xinerama
0N/A * screens.
0N/A *
0N/A * For win32, the listener object created from that class is then registered
0N/A * with the WToolkit object using its <code>addDisplayChangeListener</code>
0N/A * method. When the display resolution is changed (which occurs,
0N/A * in Windows, either by the user changing the properties of the
0N/A * display through the control panel or other utility or by
0N/A * some other application which has gotten fullscreen-exclusive
0N/A * control of the display), the listener is notified through its
0N/A * displayChanged() or paletteChanged() methods.
0N/A *
0N/A * @author Chet Haase
0N/A * @author Brent Christian
0N/A * @since 1.4
0N/A */
0N/Apublic interface DisplayChangedListener extends EventListener {
0N/A /**
0N/A * Invoked when the display mode has changed.
0N/A */
0N/A public void displayChanged();
0N/A
0N/A /**
0N/A * Invoked when the palette has changed.
0N/A */
0N/A public void paletteChanged();
0N/A
0N/A}