public final class GlobalMenuLinux extends java.lang.Object implements LinuxGlobalMenuEventHandler, Disposable
Disposable.Parent| Modifier and Type | Method and Description |
|---|---|
void |
bindNewWindow(java.awt.Window frame) |
static GlobalMenuLinux |
create(javax.swing.JFrame frame) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
handleEvent(int uid,
int eventType) |
static boolean |
isAvailable() |
static boolean |
isPresented() |
void |
setRoots(java.util.List<ActionMenu> roots) |
void |
toggle(boolean enabled) |
void |
unbindWindow(java.awt.Window frame) |
public static GlobalMenuLinux create(javax.swing.JFrame frame)
public void dispose()
Disposabledispose in interface Disposablepublic void bindNewWindow(java.awt.Window frame)
public void unbindWindow(java.awt.Window frame)
public void setRoots(java.util.List<ActionMenu> roots)
public void toggle(boolean enabled)
public void handleEvent(int uid,
int eventType)
handleEvent in interface LinuxGlobalMenuEventHandlerpublic static boolean isAvailable()
public static boolean isPresented()