APIdia Launch Partner
Top Fields Constructors Methods
sun.awt.X11

pack-priv final Class XTaskbarPeer

extends Object
implements TaskbarPeer
Class Inheritance
All Implemented Interfaces
java.awt.peer.TaskbarPeer
Imports
java.awt.MenuItem, .PopupMenu, .Taskbar.Feature, java.awt.peer.TaskbarPeer, java.awt.event.ActionEvent, sun.awt.UNIXToolkit

Field Summary

Modifier and TypeField and Description
private static boolean
private static boolean
private static boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public PopupMenu
getMenu()

Overrides default java.awt.peer.TaskbarPeer.getMenu.

Gets PopupMenu used to add items to this application's icon in system task area.

private static native boolean
init(String name, int version, boolean verbose)

private static void
public boolean
isSupported(Taskbar.Feature feature)

Overrides default java.awt.peer.TaskbarPeer.isSupported.

Tests support of Feature on current platform.

pack-priv static boolean
public void
requestUserAttention(boolean enabled, boolean critical)

Overrides default java.awt.peer.TaskbarPeer.requestUserAttention.

Requests user attention to this application.

private static native void
private native void
setBadge(long value, boolean visible)

public void
setIconBadge(String badge)

Overrides default java.awt.peer.TaskbarPeer.setIconBadge.

Affixes a small system-provided badge to this application's icon.

public synchronized void
setMenu(PopupMenu m)

Overrides default java.awt.peer.TaskbarPeer.setMenu.

Attaches the contents of the provided PopupMenu to the application icon in system task area.

private native void
public void
setProgressValue(int value)

Overrides default java.awt.peer.TaskbarPeer.setProgressValue.

Affixes a small system-provided progress bar to this application's icon.

private native void
setUrgent(boolean urgent)

private native void
updateProgress(double value, boolean visible)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

initExecutedback to summary
private static boolean initExecuted
isUnityback to summary
private static boolean isUnity
nativeLibraryLoadedback to summary
private static boolean nativeLibraryLoaded

Constructor Detail

XTaskbarPeerback to summary
pack-priv XTaskbarPeer()

Method Detail

getMenuback to summary
public PopupMenu getMenu()

Overrides default java.awt.peer.TaskbarPeer.getMenu.

Doc from java.awt.peer.TaskbarPeer.getMenu.

Gets PopupMenu used to add items to this application's icon in system task area.

Annotations
@Override
initback to summary
private static native boolean init(String name, int version, boolean verbose)
initWithLockback to summary
private static void initWithLock()
isSupportedback to summary
public boolean isSupported(Taskbar.Feature feature)

Overrides default java.awt.peer.TaskbarPeer.isSupported.

Doc from java.awt.peer.TaskbarPeer.isSupported.

Tests support of Feature on current platform.

Annotations
@Override
isTaskbarSupportedback to summary
pack-priv static boolean isTaskbarSupported()
requestUserAttentionback to summary
public void requestUserAttention(boolean enabled, boolean critical)

Overrides default java.awt.peer.TaskbarPeer.requestUserAttention.

Doc from java.awt.peer.TaskbarPeer.requestUserAttention.

Requests user attention to this application.

Annotations
@Override
runloopback to summary
private static native void runloop()
setBadgeback to summary
private native void setBadge(long value, boolean visible)
setIconBadgeback to summary
public void setIconBadge(String badge)

Overrides default java.awt.peer.TaskbarPeer.setIconBadge.

Doc from java.awt.peer.TaskbarPeer.setIconBadge.

Affixes a small system-provided badge to this application's icon. Usually a number.

Annotations
@Override
setMenuback to summary
public synchronized void setMenu(PopupMenu m)

Overrides default java.awt.peer.TaskbarPeer.setMenu.

Doc from java.awt.peer.TaskbarPeer.setMenu.

Attaches the contents of the provided PopupMenu to the application icon in system task area.

Annotations
@Override
setNativeMenuback to summary
private native void setNativeMenu(MenuItem[] items)
setProgressValueback to summary
public void setProgressValue(int value)

Overrides default java.awt.peer.TaskbarPeer.setProgressValue.

Doc from java.awt.peer.TaskbarPeer.setProgressValue.

Affixes a small system-provided progress bar to this application's icon.

Annotations
@Override
setUrgentback to summary
private native void setUrgent(boolean urgent)
updateProgressback to summary
private native void updateProgress(double value, boolean visible)