< prev index next >

src/java.desktop/macosx/classes/com/apple/eawt/ApplicationEvent.java

Print this page

        

*** 48,60 **** fFilename = filename; } /** * Determines whether an ApplicationListener has acted on a particular event. ! * An event is marked as having been handled with <code>setHandled(true)</code>. * ! * @return <code>true</code> if the event has been handled, otherwise <code>false</code> * * @since 1.4 * @deprecated */ @Deprecated --- 48,60 ---- fFilename = filename; } /** * Determines whether an ApplicationListener has acted on a particular event. ! * An event is marked as having been handled with {@code setHandled(true)}. * ! * @return {@code true} if the event has been handled, otherwise {@code false} * * @since 1.4 * @deprecated */ @Deprecated
*** 63,76 **** } /** * Marks the event as handled. * After this method handles an ApplicationEvent, it may be useful to specify that it has been handled. ! * This is usually used in conjunction with <code>getHandled()</code>. ! * Set to <code>true</code> to designate that this event has been handled. By default it is <code>false</code>. * ! * @param state <code>true</code> if the event has been handled, otherwise <code>false</code>. * * @since 1.4 * @deprecated */ @Deprecated --- 63,76 ---- } /** * Marks the event as handled. * After this method handles an ApplicationEvent, it may be useful to specify that it has been handled. ! * This is usually used in conjunction with {@code getHandled()}. ! * Set to {@code true} to designate that this event has been handled. By default it is {@code false}. * ! * @param state {@code true} if the event has been handled, otherwise {@code false}. * * @since 1.4 * @deprecated */ @Deprecated
*** 82,92 **** * Provides the filename associated with a particular AppleEvent. * When the ApplicationEvent corresponds to an AppleEvent that needs to act on a particular file, the ApplicationEvent carries the name of the specific file with it. * For example, the Print and Open events refer to specific files. * For these cases, this returns the appropriate file name. * ! * @return the full path to the file associated with the event, if applicable, otherwise <code>null</code> * * @since 1.4 * @deprecated use {@link OpenFilesHandler} or {@link PrintFilesHandler} instead */ @Deprecated --- 82,92 ---- * Provides the filename associated with a particular AppleEvent. * When the ApplicationEvent corresponds to an AppleEvent that needs to act on a particular file, the ApplicationEvent carries the name of the specific file with it. * For example, the Print and Open events refer to specific files. * For these cases, this returns the appropriate file name. * ! * @return the full path to the file associated with the event, if applicable, otherwise {@code null} * * @since 1.4 * @deprecated use {@link OpenFilesHandler} or {@link PrintFilesHandler} instead */ @Deprecated
< prev index next >