Uses of Class
org.openstreetmap.josm.gui.Notification
Packages that use Notification
Package
Description
Provides the classes for JOSM user actions.
Provides the classes for JOSM graphical user interface.
-
Uses of Notification in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions that return NotificationModifier and TypeMethodDescriptionprotected static NotificationDiskAccessAction.showSavedNotification(Notification savingNotification, String filename) Show "Successfully saved file" notification and returns it.protected static NotificationDiskAccessAction.showSavingNotification(String filename) Show "saving file ..." notification and returns it, for future replacement.Methods in org.openstreetmap.josm.actions with parameters of type NotificationModifier and TypeMethodDescriptionprotected static NotificationDiskAccessAction.showSavedNotification(Notification savingNotification, String filename) Show "Successfully saved file" notification and returns it. -
Uses of Notification in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as NotificationModifier and TypeFieldDescriptionprivate NotificationNotificationManager.currentNotificationprivate final NotificationNotificationManager.NotificationPanel.ShowNoteHelpAction.noteFields in org.openstreetmap.josm.gui with type parameters of type NotificationMethods in org.openstreetmap.josm.gui that return NotificationModifier and TypeMethodDescriptionNotification.setContent(Component content) Set the content of the message.Notification.setContent(String msg) Set the notification text.Notification.setDuration(int duration) Set the time after which the message is hidden.Notification.setHelpTopic(String helpTopic) Display a help button at the bottom of the notification window.Notification.setIcon(int messageType) Set an icon to display on the left part of the message window by choosing from the default JOptionPane icons.Set an icon to display on the left part of the message window.Methods in org.openstreetmap.josm.gui with parameters of type NotificationModifier and TypeMethodDescriptionprivate voidNotificationManager.NotificationPanel.build(Notification note, MouseListener freeze, ActionListener hideListener) voidNotification.replaceExisting(Notification oldNotification) Display the notification by replacing the given queued/displaying notification(package private) voidNotificationManager.replaceExistingNotification(Notification oldNotification, Notification newNotification) Show the given notification by replacing the given queued/displaying notification(package private) voidNotificationManager.showNotification(Notification note) Show the given notification (unless a duplicate notification is being shown at the moment or is already queued)private voidNotificationManager.stopHideTimer(Notification expected) Hides the displayed notification and starts the pause before the next one.Constructors in org.openstreetmap.josm.gui with parameters of type NotificationModifierConstructorDescription(package private)NotificationPanel(Notification note, MouseListener freeze, ActionListener hideListener) (package private)