Uses of Class
org.openstreetmap.josm.gui.Notification
-
Packages that use Notification Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface. -
-
Uses of Notification in org.openstreetmap.josm.actions
Methods in org.openstreetmap.josm.actions that return Notification Modifier and Type Method Description protected static Notification
DiskAccessAction. showSavedNotification(Notification savingNotification, String filename)
Show "Successfully saved file" notification and returns it.protected static Notification
DiskAccessAction. showSavingNotification(String filename)
Show "saving file ..." notification and returns it, for future replacement.Methods in org.openstreetmap.josm.actions with parameters of type Notification Modifier and Type Method Description protected static Notification
DiskAccessAction. 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 Notification Modifier and Type Field Description private Notification
NotificationManager. currentNotification
private Notification
NotificationManager.NotificationPanel.ShowNoteHelpAction. note
Fields in org.openstreetmap.josm.gui with type parameters of type Notification Modifier and Type Field Description private Deque<Notification>
NotificationManager. queue
Methods in org.openstreetmap.josm.gui that return Notification Modifier and Type Method Description Notification
Notification. setContent(Component content)
Set the content of the message.Notification
Notification. setContent(String msg)
Set the notification text.Notification
Notification. setDuration(int duration)
Set the time after which the message is hidden.Notification
Notification. setHelpTopic(String helpTopic)
Display a help button at the bottom of the notification window.Notification
Notification. setIcon(int messageType)
Set an icon to display on the left part of the message window by choosing from the default JOptionPane icons.Notification
Notification. setIcon(Icon icon)
Set an icon to display on the left part of the message window.Methods in org.openstreetmap.josm.gui with parameters of type Notification Modifier and Type Method Description private void
NotificationManager.NotificationPanel. build(Notification note, MouseListener freeze, ActionListener hideListener)
void
Notification. replaceExisting(Notification oldNotification)
Display the notification by replacing the given queued/displaying notification(package private) void
NotificationManager. replaceExistingNotification(Notification oldNotification, Notification newNotification)
Show the given notification by replacing the given queued/displaying notification(package private) void
NotificationManager. showNotification(Notification note)
Show the given notification (unless a duplicate notification is being shown at the moment or at the end of the queue)Constructors in org.openstreetmap.josm.gui with parameters of type Notification Constructor Description NotificationPanel(Notification note, MouseListener freeze, ActionListener hideListener)
ShowNoteHelpAction(Notification note)
-