Index
All Classes and Interfaces|All Packages|Serialized Form
B
- BasicServerInfo - Class in es.blackleg.jlibnotify.core
-
Immutable
ServerInfoholding the values read from the notification server. - BasicServerInfo(String, String, String, String) - Constructor for class es.blackleg.jlibnotify.core.BasicServerInfo
-
Creates a description of a notification server.
C
- close() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyNotification
- close() - Method in interface es.blackleg.jlibnotify.JLibnotifyNotification
-
Removes the notification from the screen.
- createNotification(String, String, String) - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- createNotification(String, String, String) - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Creates a notification, without displaying it.
D
- DefaultJLibnotify - Class in es.blackleg.jlibnotify.core
-
Reference implementation of
JLibnotifyon top of the JNA binding. - DefaultJLibnotify(NativeLibnotify, ServerCapabilitiesReader) - Constructor for class es.blackleg.jlibnotify.core.DefaultJLibnotify
-
Creates a binding over an already loaded native library.
- DefaultJLibnotifyLoader - Class in es.blackleg.jlibnotify.core
-
Reference implementation of
JLibnotifyLoader, and the entry point of the library. - DefaultJLibnotifyLoader() - Constructor for class es.blackleg.jlibnotify.core.DefaultJLibnotifyLoader
-
Creates a loader for the default library name,
libnotify.so.4. - DefaultJLibnotifyLoader(String) - Constructor for class es.blackleg.jlibnotify.core.DefaultJLibnotifyLoader
-
Creates a loader for a given library name.
- DefaultJLibnotifyLoader(String, ServerCapabilitiesReader) - Constructor for class es.blackleg.jlibnotify.core.DefaultJLibnotifyLoader
-
Creates a loader for a given library name and capabilities reader.
- DefaultJLibnotifyNotification - Class in es.blackleg.jlibnotify.core
-
Reference implementation of
JLibnotifyNotification. - DefaultJLibnotifyNotification(Pointer, NativeLibnotify) - Constructor for class es.blackleg.jlibnotify.core.DefaultJLibnotifyNotification
-
Creates a notification over an existing native notification structure.
- DefaultServerCapabilitiesReader - Class in es.blackleg.jlibnotify.core
-
Reference implementation of
ServerCapabilitiesReader. - DefaultServerCapabilitiesReader() - Constructor for class es.blackleg.jlibnotify.core.DefaultServerCapabilitiesReader
-
Creates a reader.
E
- es.blackleg.jlibnotify - package es.blackleg.jlibnotify
-
Public API of jlibnotify, a Java binding for the native GNOME libnotify library.
- es.blackleg.jlibnotify.core - package es.blackleg.jlibnotify.core
-
Implementations of the public API declared in
es.blackleg.jlibnotify. - es.blackleg.jlibnotify.exception - package es.blackleg.jlibnotify.exception
-
Checked exceptions raised by the library.
- es.blackleg.jlibnotify.jna - package es.blackleg.jlibnotify.jna
-
JNA binding of the native libnotify symbols.
F
- FALSE - Enum constant in enum es.blackleg.jlibnotify.jna.GBoolean
-
The C value
FALSE, mapped by JNA to the ordinal0.
G
- GBoolean - Enum in es.blackleg.jlibnotify.jna
-
Java mapping of the C
gbooleantype used by libnotify. - getAppName() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- getAppName() - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Returns the application name currently registered in the libnotify session.
- getName() - Method in class es.blackleg.jlibnotify.core.BasicServerInfo
- getName() - Method in interface es.blackleg.jlibnotify.ServerInfo
-
Returns the product name of the notification server.
- getServerCapabilities() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- getServerCapabilities() - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Returns the optional features the notification server supports.
- getServerCapabilitiesFromPointer(Pointer) - Method in class es.blackleg.jlibnotify.core.DefaultServerCapabilitiesReader
- getServerCapabilitiesFromPointer(Pointer) - Method in interface es.blackleg.jlibnotify.core.ServerCapabilitiesReader
-
Reads the capability strings of a native
GList. - getServerInfo() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- getServerInfo() - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Returns the description the notification server gives of itself.
- getSpecVersion() - Method in class es.blackleg.jlibnotify.core.BasicServerInfo
- getSpecVersion() - Method in interface es.blackleg.jlibnotify.ServerInfo
-
Returns the version of the freedesktop.org notification specification the server implements.
- getVendor() - Method in class es.blackleg.jlibnotify.core.BasicServerInfo
- getVendor() - Method in interface es.blackleg.jlibnotify.ServerInfo
-
Returns the vendor of the notification server.
- getVersion() - Method in class es.blackleg.jlibnotify.core.BasicServerInfo
- getVersion() - Method in interface es.blackleg.jlibnotify.ServerInfo
-
Returns the version of the notification server.
I
- init() - Static method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyLoader
-
Creates a loader for the default library name,
libnotify.so.4. - init(String) - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- init(String) - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Initialises the libnotify session under the given application name.
- isInitted() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- isInitted() - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Tells whether the libnotify session is currently initialised.
J
- JLibnotify - Interface in es.blackleg.jlibnotify
-
A loaded libnotify library, and the entry point for creating notifications.
- JLibnotifyException - Exception Class in es.blackleg.jlibnotify.exception
-
Parent of the checked exceptions raised by the library.
- JLibnotifyException(String) - Constructor for exception class es.blackleg.jlibnotify.exception.JLibnotifyException
-
Creates an exception with a message.
- JLibnotifyException(String, Throwable) - Constructor for exception class es.blackleg.jlibnotify.exception.JLibnotifyException
-
Creates an exception with a message and a cause.
- JLibnotifyInitException - Exception Class in es.blackleg.jlibnotify.exception
-
Raised when libnotify refuses to initialise the notification session.
- JLibnotifyInitException(String) - Constructor for exception class es.blackleg.jlibnotify.exception.JLibnotifyInitException
-
Creates an exception with a message.
- JLibnotifyLoader - Interface in es.blackleg.jlibnotify
-
Loads the native libnotify library into the process.
- JLibnotifyLoadException - Exception Class in es.blackleg.jlibnotify.exception
-
Raised when the native libnotify library cannot be loaded.
- JLibnotifyLoadException(String, Throwable) - Constructor for exception class es.blackleg.jlibnotify.exception.JLibnotifyLoadException
-
Creates an exception with a message and a cause.
- JLibnotifyNotification - Interface in es.blackleg.jlibnotify
-
A notification created by
JLibnotify.createNotification(String, String, String).
L
- load() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyLoader
-
Loads the native library and binds it to a
DefaultJLibnotify. - load() - Method in interface es.blackleg.jlibnotify.JLibnotifyLoader
-
Loads the native library and returns a usable binding of it.
N
- NativeLibnotify - Interface in es.blackleg.jlibnotify.jna
-
JNA declaration of the native libnotify functions.
- notify_get_app_name() - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Returns the registered application name, binding
notify_get_app_name. - notify_get_server_caps() - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Returns the capabilities of the notification server, binding
notify_get_server_caps. - notify_get_server_info(String[], String[], String[], String[]) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Reads the description of the notification server, binding
notify_get_server_info. - notify_init(String) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Initialises the libnotify session, binding
notify_init. - notify_is_initted() - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Tells whether the session is initialised, binding
notify_is_initted. - notify_notification_close(Pointer, Pointer) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Removes a notification from the screen, binding
notify_notification_close. - notify_notification_new(String, String, String) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Creates a notification structure, binding
notify_notification_new. - notify_notification_set_timeout(Pointer, int) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Sets how long a notification stays on screen, binding
notify_notification_set_timeout. - notify_notification_show(Pointer, Pointer) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Sends a notification to the server, binding
notify_notification_show. - notify_notification_update(Pointer, String, String, String) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Replaces the content of a notification, binding
notify_notification_update. - notify_set_app_name(String) - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Replaces the registered application name, binding
notify_set_app_name. - notify_uninit() - Method in interface es.blackleg.jlibnotify.jna.NativeLibnotify
-
Closes the session and frees its resources, binding
notify_uninit.
S
- ServerCapabilitiesReader - Interface in es.blackleg.jlibnotify.core
-
Reads the list of capabilities the notification server reports.
- ServerInfo - Interface in es.blackleg.jlibnotify
-
The description a notification server gives of itself, as returned by
JLibnotify.getServerInfo(). - setAppName(String) - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- setAppName(String) - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Replaces the application name registered in the libnotify session.
- setTimeOut(int) - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyNotification
- setTimeOut(int) - Method in interface es.blackleg.jlibnotify.JLibnotifyNotification
-
Sets how long the notification stays on screen.
- show() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyNotification
- show() - Method in interface es.blackleg.jlibnotify.JLibnotifyNotification
-
Sends the notification to the notification server so it is displayed.
T
- toString() - Method in class es.blackleg.jlibnotify.core.BasicServerInfo
- TRUE - Enum constant in enum es.blackleg.jlibnotify.jna.GBoolean
-
The C value
TRUE, mapped by JNA to the ordinal1.
U
- unInit() - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotify
- unInit() - Method in interface es.blackleg.jlibnotify.JLibnotify
-
Closes the libnotify session and releases the resources it holds.
- update(String, String, String) - Method in class es.blackleg.jlibnotify.core.DefaultJLibnotifyNotification
- update(String, String, String) - Method in interface es.blackleg.jlibnotify.JLibnotifyNotification
-
Replaces the content of the notification.
V
- valueOf(String) - Static method in enum es.blackleg.jlibnotify.jna.GBoolean
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum es.blackleg.jlibnotify.jna.GBoolean
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes and Interfaces|All Packages|Serialized Form