8166313: JavaDoc mentions AppEvent subclasses as inner class of AppEvent
Reviewed-by: serb, ssadetsky
This commit is contained in:
parent
2a3c0587b6
commit
46893b06b3
@ -335,7 +335,7 @@ public class Desktop {
|
|||||||
* most of the platforms support the {@link Desktop.Action#OPEN}
|
* most of the platforms support the {@link Desktop.Action#OPEN}
|
||||||
* action. But for a specific file, there may not be an
|
* action. But for a specific file, there may not be an
|
||||||
* application registered to open it. In this case, {@link
|
* application registered to open it. In this case, {@link
|
||||||
* #isSupported} may return {@code true}, but the corresponding
|
* #isSupported(Action)} may return {@code true}, but the corresponding
|
||||||
* action method will throw an {@link IOException}.
|
* action method will throw an {@link IOException}.
|
||||||
*
|
*
|
||||||
* @param action the specified {@link Action}
|
* @param action the specified {@link Action}
|
||||||
@ -720,7 +720,7 @@ public class Desktop {
|
|||||||
* default behavior.
|
* default behavior.
|
||||||
*
|
*
|
||||||
* @param aboutHandler the handler to respond to the
|
* @param aboutHandler the handler to respond to the
|
||||||
* {@link java.awt.desktop.AboutHandler#handleAbout} )} message
|
* {@link java.awt.desktop.AboutHandler#handleAbout(AboutEvent)} message
|
||||||
*
|
*
|
||||||
* @throws SecurityException if a security manager exists and it
|
* @throws SecurityException if a security manager exists and it
|
||||||
* denies the
|
* denies the
|
||||||
@ -828,7 +828,7 @@ public class Desktop {
|
|||||||
* open a URL.
|
* open a URL.
|
||||||
*
|
*
|
||||||
* Setting the handler to {@code null} causes all
|
* Setting the handler to {@code null} causes all
|
||||||
* {@link OpenURIHandler#openURI(AppEvent.OpenURIEvent)} requests to be
|
* {@link OpenURIHandler#openURI(OpenURIEvent)} requests to be
|
||||||
* enqueued until another handler is set.
|
* enqueued until another handler is set.
|
||||||
*
|
*
|
||||||
* @implNote Please note that for Mac OS, notifications
|
* @implNote Please note that for Mac OS, notifications
|
||||||
|
@ -30,8 +30,8 @@ package java.awt.desktop;
|
|||||||
* Event sent when the application has become the foreground app, and when it is
|
* Event sent when the application has become the foreground app, and when it is
|
||||||
* no longer the foreground app.
|
* no longer the foreground app.
|
||||||
*
|
*
|
||||||
* @see AppForegroundListener#appRaisedToForeground(AppEvent.AppForegroundEvent)
|
* @see AppForegroundListener#appRaisedToForeground(AppForegroundEvent)
|
||||||
* @see AppForegroundListener#appMovedToBackground(AppEvent.AppForegroundEvent)
|
* @see AppForegroundListener#appMovedToBackground(AppForegroundEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -29,8 +29,8 @@ package java.awt.desktop;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the application has been hidden or shown.
|
* Event sent when the application has been hidden or shown.
|
||||||
*
|
*
|
||||||
* @see AppHiddenListener#appHidden(AppEvent.AppHiddenEvent)
|
* @see AppHiddenListener#appHidden(AppHiddenEvent)
|
||||||
* @see AppHiddenListener#appUnhidden(AppEvent.AppHiddenEvent)
|
* @see AppHiddenListener#appUnhidden(AppHiddenEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -29,7 +29,7 @@ package java.awt.desktop;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the application is asked to re-open itself.
|
* Event sent when the application is asked to re-open itself.
|
||||||
*
|
*
|
||||||
* @see AppReopenedListener#appReopened(AppEvent.AppReopenedEvent)
|
* @see AppReopenedListener#appReopened(AppReopenedEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -31,7 +31,7 @@ import java.net.URI;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the app is asked to open a {@code URI}.
|
* Event sent when the app is asked to open a {@code URI}.
|
||||||
*
|
*
|
||||||
* @see OpenURIHandler#openURI(AppEvent.OpenURIEvent)
|
* @see OpenURIHandler#openURI(OpenURIEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -33,7 +33,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the app is asked to print a list of files.
|
* Event sent when the app is asked to print a list of files.
|
||||||
*
|
*
|
||||||
* @see PrintFilesHandler#printFiles(AppEvent.PrintFilesEvent)
|
* @see PrintFilesHandler#printFiles(PrintFilesEvent)
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
public final class PrintFilesEvent extends FilesEvent {
|
public final class PrintFilesEvent extends FilesEvent {
|
||||||
|
@ -28,7 +28,7 @@ package java.awt.desktop;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the application is asked to quit.
|
* Event sent when the application is asked to quit.
|
||||||
*
|
*
|
||||||
* @see QuitHandler#handleQuitRequestWith(AppEvent.QuitEvent, QuitResponse)
|
* @see QuitHandler#handleQuitRequestWith(QuitEvent, QuitResponse)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -28,8 +28,8 @@ package java.awt.desktop;
|
|||||||
* Event sent when the displays attached to the system enter and exit power save
|
* Event sent when the displays attached to the system enter and exit power save
|
||||||
* sleep.
|
* sleep.
|
||||||
*
|
*
|
||||||
* @see ScreenSleepListener#screenAboutToSleep(AppEvent.ScreenSleepEvent)
|
* @see ScreenSleepListener#screenAboutToSleep(ScreenSleepEvent)
|
||||||
* @see ScreenSleepListener#screenAwoke(AppEvent.ScreenSleepEvent)
|
* @see ScreenSleepListener#screenAwoke(ScreenSleepEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -28,8 +28,8 @@ package java.awt.desktop;
|
|||||||
/**
|
/**
|
||||||
* Event sent when the system enters and exits power save sleep.
|
* Event sent when the system enters and exits power save sleep.
|
||||||
*
|
*
|
||||||
* @see SystemSleepListener#systemAboutToSleep(AppEvent.SystemSleepEvent)
|
* @see SystemSleepListener#systemAboutToSleep(SystemSleepEvent)
|
||||||
* @see SystemSleepListener#systemAwoke(AppEvent.SystemSleepEvent)
|
* @see SystemSleepListener#systemAwoke(SystemSleepEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
@ -29,8 +29,8 @@ package java.awt.desktop;
|
|||||||
*
|
*
|
||||||
* Some systems may provide a reason of a user session change.
|
* Some systems may provide a reason of a user session change.
|
||||||
*
|
*
|
||||||
* @see UserSessionListener#userSessionActivated(AppEvent.UserSessionEvent)
|
* @see UserSessionListener#userSessionActivated(UserSessionEvent)
|
||||||
* @see UserSessionListener#userSessionDeactivated(AppEvent.UserSessionEvent)
|
* @see UserSessionListener#userSessionDeactivated(UserSessionEvent)
|
||||||
*
|
*
|
||||||
* @since 9
|
* @since 9
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user