< 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.
*** 49,61 **** default void requestUserAttention(boolean enabled, final boolean critical) {} /** * 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. * --- 49,61 ---- default void requestUserAttention(boolean enabled, final boolean critical) {} /** * Requests user attention to the specified window. * ! * @param f frame */ ! default void requestWindowUserAttention(Frame w) {} /** * Attaches the contents of the provided PopupMenu to the application icon * in system task area. *
*** 94,124 **** /** * Affixes a small badge to this application's icon in task area * 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 --- 94,124 ---- /** * Affixes a small badge to this application's icon in task area * for the specified window. * ! * @param f frame to update * @param badge image to affix to the icon */ ! default void setWindowIconBadge(Frame f, final Image badge) {} /** * Displays progress for specified window. * ! * @param f frame to update * @param value from 0 to 100, other to disable progress indication */ ! default void setWindowProgressValue(Frame f, int value) {} /** * Sets a progress state for a specified window. * ! * @param f frame * @param state to change to * @see Taskbar#setWindowProgressState */ ! default void setWindowProgressState(Frame f, 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 >