public class Notifications
extends org.bukkit.plugin.java.JavaPlugin
implements java.awt.event.ActionListener, java.awt.event.MouseListener
| Constructor and Description |
|---|
Notifications() |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Called when a type of action is performed
NOT PART OF THE API! |
boolean |
arePluginNotificationsEnabled()
Gets whether the server allows custom plugin notifications
|
boolean |
isNotificationBeingShown()
Gets whether there is currently a notification being shown
|
void |
mouseClicked(java.awt.event.MouseEvent event)
Called when the mouse is clicked
NOT PART OF THE API! |
void |
mouseEntered(java.awt.event.MouseEvent event)
Called when the mouse enters the window
NOT PART OF THE API! |
void |
mouseExited(java.awt.event.MouseEvent event)
Called when the mouse exits the window
NOT PART OF THE API! |
void |
mousePressed(java.awt.event.MouseEvent event)
Called when the mouse is pressed
NOT PART OF THE API! |
void |
mouseReleased(java.awt.event.MouseEvent event)
Called when the mouse is released
NOT PART OF THE API! |
void |
onDisable()
Called when the plugin is disabled
NOT PART OF THE API! |
void |
onEnable()
Called when the plugin is enabled
NOT PART OF THE API! |
boolean |
showNotification(Notification notification)
Shows a notification on the desktop
|
getCommand, getConfig, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getLogger, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onCommand, onLoad, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setNaggable, toStringpublic void onEnable()
onEnable in interface org.bukkit.plugin.PluginonEnable in class org.bukkit.plugin.java.JavaPluginpublic void onDisable()
onDisable in interface org.bukkit.plugin.PluginonDisable in class org.bukkit.plugin.java.JavaPluginpublic boolean isNotificationBeingShown()
public boolean arePluginNotificationsEnabled()
public boolean showNotification(Notification notification)
notification - The notification to showpublic void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerevent - The eventpublic void mouseClicked(java.awt.event.MouseEvent event)
mouseClicked in interface java.awt.event.MouseListenerevent - The eventpublic void mouseEntered(java.awt.event.MouseEvent event)
mouseEntered in interface java.awt.event.MouseListenerevent - The eventpublic void mouseExited(java.awt.event.MouseEvent event)
mouseExited in interface java.awt.event.MouseListenerevent - The eventpublic void mousePressed(java.awt.event.MouseEvent event)
mousePressed in interface java.awt.event.MouseListenerevent - The eventpublic void mouseReleased(java.awt.event.MouseEvent event)
mouseReleased in interface java.awt.event.MouseListenerevent - The event