< prev index next >

src/java.desktop/share/classes/java/awt/peer/TaskbarPeer.java

Print this page

        

*** 23,38 **** * questions. */ package java.awt.peer; import java.awt.Image; import java.awt.PopupMenu; import java.awt.Taskbar; import java.awt.Taskbar.Feature; import java.awt.Taskbar.State; - import java.awt.Window; /** * The {@code TaskbarPeer} interface provides methods for interacting with * system task area. --- 23,38 ---- * questions. */ package java.awt.peer; + import java.awt.Frame; import java.awt.Image; import java.awt.PopupMenu; import java.awt.Taskbar; import java.awt.Taskbar.Feature; import java.awt.Taskbar.State; /** * The {@code TaskbarPeer} interface provides methods for interacting with * system task area.
*** 51,61 **** /** * Requests user attention to the specified window. * * @param w window */ ! default void requestWindowUserAttention(Window w) {} /** * Attaches the contents of the provided PopupMenu to the application icon * in system task area. * --- 51,61 ---- /** * Requests user attention to the specified window. * * @param w window */ ! default void requestWindowUserAttention(Frame w) {} /** * Attaches the contents of the provided PopupMenu to the application icon * in system task area. *
*** 97,124 **** * for the specified window. * * @param w window to update * @param badge image to affix to the icon */ ! default void setWindowIconBadge(Window w, final Image badge) {} /** * Displays progress for specified window. * * @param w window to update * @param value from 0 to 100, other to disable progress indication */ ! default void setWindowProgressValue(Window w, int value) {} /** * Sets a progress state for a specified window. * * @param w window * @param state to change to * @see Taskbar#setWindowProgressState */ ! default void setWindowProgressState(Window w, State state) {} /** * Affixes a small system-provided progress bar to this application's icon. * * @param value from 0 to 100, other to disable progress indication --- 97,124 ---- * for the specified window. * * @param w window to update * @param badge image to affix to the icon */ ! default void setWindowIconBadge(Frame w, final Image badge) {} /** * Displays progress for specified window. * * @param w window to update * @param value from 0 to 100, other to disable progress indication */ ! default void setWindowProgressValue(Frame w, int value) {} /** * Sets a progress state for a specified window. * * @param w window * @param state to change to * @see Taskbar#setWindowProgressState */ ! default void setWindowProgressState(Frame w, State state) {} /** * Affixes a small system-provided progress bar to this application's icon. * * @param value from 0 to 100, other to disable progress indication
< prev index next >