jdk/src/java.desktop/macosx/classes/com/apple/eawt/FullScreenAdapter.java
changeset 44655 06871a50a4b5
parent 36903 addc2e9d4bd4
equal deleted inserted replaced
44654:ca968890962d 44655:06871a50a4b5
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    23  * questions.
    23  * questions.
    24  */
    24  */
    25 
    25 
    26 package com.apple.eawt;
    26 package com.apple.eawt;
    27 
    27 
       
    28 import java.awt.Window;
       
    29 
    28 import com.apple.eawt.event.FullScreenEvent;
    30 import com.apple.eawt.event.FullScreenEvent;
    29 
    31 
    30 /**
    32 /**
    31  * Abstract adapter class for receiving fullscreen events. This class is provided
    33  * Abstract adapter class for receiving fullscreen events. This class is provided
    32  * as a convenience for creating listeners.
    34  * as a convenience for creating listeners.
    33  *
    35  *
    34  * Subclasses registered with {@link FullScreenUtilities#addFullScreenListenerTo(javax.swing.RootPaneContainer, FullScreenListener)}
    36  * Subclasses registered with {@link FullScreenUtilities#addFullScreenListenerTo(Window, FullScreenListener)}
    35  * will receive all entering/entered/exiting/exited full screen events.
    37  * will receive all entering/entered/exiting/exited full screen events.
    36  *
    38  *
    37  * @see FullScreenUtilities
    39  * @see FullScreenUtilities
    38  *
    40  *
    39  * @since Java for Mac OS X 10.7 Update 1
    41  * @since Java for Mac OS X 10.7 Update 1