Package org.openstreetmap.josm.gui
Provides the classes for JOSM graphical user interface.
-
Interface Summary Interface Description HideableButton An interface to provide showing/hiding method for buttons, when hidden state is stored in preferencesIExtendedDialog Extracted interface ofExtendedDialog
class.MapFrame.MapModeChangeListener Interface to notify listeners of the change of the mapMode.MapFrameListener Listener notified of MapFrame changes.MapView.RepaintListener This is a listener that gets informed whenever repaint is called for this MapView.NavigatableComponent.ZoomChangeListener Interface to notify listeners of the change of the zoom area.PrimitiveHoverListener Interface to notify listeners when the user moves the mouse pointer onto or off of a primitive.SelectionManager.SelectionEnded This is the interface that an user of SelectionManager has to implement to get informed when a selection closes.ShowHideButtonListener When some component (ToggleDialog, for example) is linked to button and needs information about button showing/hiding events, this interface is used, setting the listener should be implemented by @class HideableButton -
Class Summary Class Description ConditionalOptionPaneUtil ConditionalOptionPaneUtil provides static utility methods for displaying modal message dialogs which can be enabled/disabled by the user.ConditionalOptionPaneUtil.MessagePanel This is a message panel used in dialogs which can be enabled/disabled with a preference setting.ExceptionDialogUtil This utility class provides static methods which explain various exceptions to the user.ExtendedDialog General configurable dialog window.GettingStarted Panel that fills the main part of the program window when JOSM has just started.GettingStarted.LinkGeneral A subclass ofJosmEditorPane
which replaces links with something clickable (usesOpenBrowser
)GettingStarted.MotdContent Grabs current MOTD from cache or webpage and parses it.HelpAwareOptionPane Utility methods that display an option dialog with an additional help button that links to the JOSM helpHelpAwareOptionPane.ButtonSpec A specification of a button that should be added to the options dialogHelpAwareOptionPane.DefaultAction HelpAwareOptionPane.HelpAction IconToggleButton Just a toggle button, with smaller border and icon only to display in MapFrame toolbars.ImageryMenu Imagery menu, holding entries for imagery preferences, offset actions and dynamic imagery entries depending on current mapview coordinates.ImageryMenu.AdjustImageryOffsetAction JosmMetalToolTipUI Overrides MetalToolTipUI to workaround JDK-8262085MainApplication Main window class application.MainApplication.DefaultNativeOsCallback MainApplication.GuiFinalizationWorker MainFrame This is the JOSM main window.MainFrame.ExitWindowAdapter MainInitialization JOSM initialization sequence.MainInitialization.JosmSettingsAdapter MainMenu This is the JOSM main menu bar.MainMenu.EditLayerMenuEnabler MainPanel This is the content panel inside theMainFrame
.MainTermination JOSM termination sequence.MapFrame One Map frame with one dataset behind.MapMover Enables moving of the map by holding down the right mouse button and drag the mouse.MapMover.JMapViewerUpdater MapScaler Map scale bar, displaying the distance in meter that correspond to 100 px on screen.MapScaler.TickMarks This class finds the best possible tick mark positions.MapSlider This is the slider used in the top left corner of the map view.MapStatus A component that manages some status information display about the map.MapStatus.JumpToOnLeftClickMouseAdapter MapStatus.MouseState Everything, the collector is interested of.MapStatus.ShowMonitorDialogMouseAdapter MapStatus.StatusTextHistory MapView This is a component used in theMapFrame
for browsing the map.MapView.WarningLayerPainter A layer painter that issues a warning when being called.MapViewState This class represents a state of theMapView
.MenuScroller A class that provides scrolling capabilities to a long menu dropdown or popup menu.ModeMenu Mode menu.NavigatableComponent A component that can be navigated by aMapMover
.NavigatableComponent.ZoomData NoteInputDialog Class to show user input dialog for notes.NoteSortDialog A dialog to allow the user to choose a sorting method for the list of notesNotification A Notification Message similar to a popup window, but without disrupting the user's workflow.NotificationManager ManagesNotification
s, i.e. displays them on screen.NotificationManager.NotificationPanel NotificationManager.NotificationPanel.ShowNoteHelpAction NotificationManager.RoundedPanel A panel with rounded edges and line border.PleaseWaitDialog This is a dialog that displays the progress of an action to the user.PleaseWaitRunnable Instanced of this thread will display a "Please Wait" message in middle of JOSM to indicate a progress being executed.PopupMenuHandler Handler to ease management of actions in different popup menus.PrimitiveHoverListener.PrimitiveHoverEvent Event that is fired when the mouse pointer is moved over a primitive.PrimitiveRenderer Renderer that renders the objects from anIPrimitive
as data.ProgramArguments This class holds the arguments passed on toMainApplication.main(java.lang.String[])
.ScrollViewport A viewport with UP and DOWN arrow buttons, so that the user can make the content scroll.SelectionManager Manages the selection of a rectangle or a lasso loop.SideButton Button that is usually used in toggle dialogs.SplashScreen Show a splash screen so the user knows what is happening during startup.SplashScreen.MeasurableTask A single task (of aProgressMonitor
) which keeps track of its execution duration (requires a call toSplashScreen.MeasurableTask.finish()
).SplashScreen.SplashProgressMonitor AProgressMonitor
which stores the (sub)tasks in a tree.SplashScreen.SplashScreenProgressRenderer SplashScreen.Task A task (of aProgressMonitor
).WindowMenu Window menu, holding entries for changeset manager, toggle dialogs. -
Enum Summary Enum Description ConditionalOptionPaneUtil.NotShowAgain An enum designating how long to not show this message again, i.e., for how long to storeDownloadParamType The type of a command line parameter, to be used in switch statements.MainMenu.WINDOW_MENU_GROUP The possible item groups of the Windows menu.MenuScroller.MenuIcon ProgramArguments.Option JOSM command line options.