Package org.openstreetmap.josm.gui.util
Provides GUI utility classes.
-
Interface Summary Interface Description DocumentAdapter A functional DocumentListener which sends all events toDocumentAdapter.update(DocumentEvent)
.KeyPressReleaseListener Interface that is used to detect key pressing and releasing.ModifierExListener Listener called when pressed extended modifier keys change is detected.MultikeyShortcutAction Action implementing a multikey shortcut - shortcuts like Ctrl+Alt+S,n will toggle n-th layer visibility.ReorderableTableModel<T> Defines a list/table model that can be reordered.SortableTableModel<T> Defines a table model that can be sorted. -
Class Summary Class Description AbstractTag2LinkPopupListener A popup listener which adds web links based on tags of OSM primitives.AdjustmentSynchronizer Synchronizes scrollbar adjustments between a set ofAdjustable
s.AdvancedKeyPressDetector Helper object that allows cross-platform detection of key press and release events instance is available globally asMain.map.keyDetector
.CellEditorSupport Utility class used to ease implementation ofCellEditor
interface, or one of its sub-interfaces, for classes that cannot extendAbstractCellEditor
.ChangeNotifier Replacement tojava.util.Observable
class, deprecated with Java 9.CheckThreadViolationRepaintManager This class is used to detect Event Dispatch Thread rule violationsCursorManager This class manages multiple cursors for multiple components.FileFilterAllFiles A FileFilter that accepts all files.GuiHelper basic gui utilsHighlightHelper This class stores the set of highlighted primitives and allows easy and fast change of highlighting.LruCache<K,V> LRU cache (least recently used)MultikeyActionsHandler Handles the different multikey actions.MultikeyActionsHandler.ShowLayersPopupWorker MultikeyActionsHandler.ShowLayersPopupWorker.StatusLinePopupMenuListener MultikeyShortcutAction.MultikeyInfo MultiLineFlowLayout This is an extension of the flow layout that prefers wrapping the text instead of increasing the component width when there is not enough space.RedirectInputMap Make shortcuts from main window work in dialog windows.StayOpenCheckBoxMenuItem An extension of JCheckBoxMenuItem that doesn't close the menu when selected.StayOpenCheckBoxMenuItemUI A CheckBoxMenuItem UI delegate that doesn't close the menu when selected.StayOpenMenuItem An extension of JMenuItem that doesn't close the menu when selected.StayOpenPopupMenu AJPopupMenu
that can stay open on all platforms when containingStayOpen*
items.StayOpenRadioButtonMenuItem An extension of JRadioButtonMenuItem that doesn't close the menu when selected.TableHelper The class that provide common JTable customization methodsWindowGeometry This is a helper class for persisting the geometry of a JOSM window to the preference store and for restoring it from the preference store. -
Exception Summary Exception Description WindowGeometry.WindowGeometryException Exception thrown by the WindowGeometry class if something goes wrong