Package org.openstreetmap.josm.gui.widgets
package org.openstreetmap.josm.gui.widgets
Provides GUI widgets customized for JOSM needs.
-
ClassDescriptionAbstract class to allow different file chooser implementations.An abstract class for ID text fields.This is an abstract class for a validator on a text component.Auto adjusting split pane when parent is resized.A panel that allows the user to input the coordinates of a lat/lon boxClass based on: http://www.camick.com/java/source/ButtonColumn.java https://tips4java.wordpress.com/2009/07/12/table-button-column/A text field designed to enter a single OSM changeset ID.Validator for a changeset ID entered in a
JTextComponent.Decorates a text component with an execution to the search compiler.Widget originally created for date filtering of GPX tracks.Default text component validator that only checks that an input field is not empty.An interface for components with code that can be used for disabling shortcuts while they hold focus.A JTextField that disabled all JOSM shortcuts composed of a single key without modifier (except F1 to F12), in order to avoid them to be triggered while typing.A chained utility class used to create and openAbstractFileChooserdialogs.
Use only this class if you need to control specifically your AbstractFileChooser dialog.Text field allowing to filter contents.Defines the filter behaviour.AJTabbedPaneextension that completely hides the tab area and border if it contains less than 2 tabs.A History ComboBoxA data model for theHistoryComboBox.This panel can be used to display larger sections of formatted text in HTML.Allows using an icon as well as a text on aJCheckBoxA small user interface component that consists of an image label and a fixed text content to the right of the image.Creates a normal label that will wrap its contents if there less width than required to print it in one line.JosmComboBox<E>Base class for all comboboxes in JOSM.AComboBoxEditorthat uses anJosmTextField.A data model for theJosmComboBoxSubclass ofJEditorPanethat adds a "native" context menu (cut/copy/paste/select all) and effectively uses JOSM user agent when performing HTTP request inJEditorPane.setPage(URL)method.A subclass ofHTMLEditorKitthat fixes an uncommon design choice that shares the set stylesheet between all instances.Specialized HTML Factory allowing to display SVG images.Specialized Image View allowing to display SVG images.A convenience list cell renderer to override.A subclass ofJPasswordFieldto implement a workaround to JDK bug 6322854.Generic table offering custom cell navigation features.Subclass ofJTextAreathat adds a "native" context menu (cut/copy/paste/select all).Subclass ofJTextFieldthat: adds a "native" context menu (undo/redo/cut/copy/paste/select all) adds an optional "hint" displayed when no text has been entered disables the global advanced key press detector when focused implements a workaround to JDK bug 6322854
This class must be used everywhere in core and plugins instead ofJTextField.Table with a scrolling behavior that is better suited for cells with large amounts of text.A popup menu for one or more lists.The MultiSplitLayout layout manager recursively arranges its components in row and column groups called "Splits".Models a single vertical/horiztonal divider.The specified Node is either the wrong type or was configured incorrectly.Models a java.awt Component child.Base class for the nodes that model a MultiSplitLayout.Defines a vertical or horizontal subdivision into two or more tiles.All properties in this class are bound: when a properties value is changed, all PropertyChangeListeners are fired.Draws a single Divider.File chooser based on the AWT'sFileDialogimplementation, which looks like more a native file chooser than the Swing implementation.An action that toggles text orientation.On screen display label.A text field designed to enter one or several OSM primitive IDs.Validator for an OSM primitive ID entered in aJTextComponent.Table displaying OSM primitives.A table model that displays OSM primitives in it's rowsA Combo box containing OSM primitive types (Node, Way, Relation).Button triggering the appearance of a JPopupMenu when activated.Utility class that helps to display popup menus on mouse events.A four-state checkbox.The 4 possible states of this checkbox.Table offering easier scroll to a given row/column.A panel containing a search text field and a list of results for that search text.A helper class that selects all text as soon as aJTextComponentreceives focus.File chooser based on the Swing'sJFileChooserimplementation.A popup menu designed for text components.Label that contains a clickable link.A panel that can be scrolled vertically.