Package org.openstreetmap.josm.gui.widgets
Provides GUI widgets customized for JOSM needs.
-
Interface Summary Interface Description DisableShortcutsOnFocusGainedComponent An interface for components with code that can be used for disabling shortcuts while they hold focus.FilterField.FilterBehaviour Defines the filter behaviour.IconTextCheckBox Allows using an icon as well as a text on aJCheckBox
MultiSplitPane.DividerPainter Draws a single Divider.OsmPrimitivesTableModel A table model that displays OSM primitives in it's rows -
Class Summary Class Description AbstractFileChooser Abstract class to allow different file chooser implementations.AbstractIdTextField<T extends AbstractTextComponentValidator> An abstract class for ID text fields.AbstractTextComponentValidator This is an abstract class for a validator on a text component.AutoAdjustingSplitPane Auto adjusting split pane when parent is resized.BoundingBoxSelectionPanel A panel that allows the user to input the coordinates of a lat/lon boxBoundingBoxSelectionPanel.LatitudeValidator BoundingBoxSelectionPanel.LongitudeValidator ButtonColumn Class based on: http://www.camick.com/java/source/ButtonColumn.java https://tips4java.wordpress.com/2009/07/12/table-button-column/ChangesetIdTextField A text field designed to enter a single OSM changeset ID.ChangesetIdTextField.ChangesetIdValidator Validator for a changeset ID entered in aJTextComponent
.CompileSearchTextDecorator Decorates a text component with an execution to the search compiler.DateEditorWithSlider Widget originally created for date filtering of GPX tracks.DefaultTextComponentValidator Default text component validator that only checks that an input field is not empty.DisableShortcutsOnFocusGainedTextField 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.EditableList AJList
containing items, andJButton
s to add/edit/delete items.FileChooserManager A chained utility class used to create and openAbstractFileChooser
dialogs.
Use only this class if you need to control specifically your AbstractFileChooser dialog.FilterField Text field allowing to filter contents.FilterField.TableFilterBehaviour HideableTabbedPane AJTabbedPane
extension that completely hides the tab area and border if it contains less than 2 tabs.HistoryComboBox A History ComboBoxHistoryComboBoxModel A data model for theHistoryComboBox
.HtmlPanel This panel can be used to display larger sections of formatted text in HTML.ImageLabel A small user interface component that consists of an image label and a fixed text content to the right of the image.JMultilineLabel 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.JosmComboBoxEditor AComboBoxEditor
that uses anJosmTextField
.JosmComboBoxModel<E> A data model for theJosmComboBox
JosmEditorPane Subclass ofJEditorPane
that adds a "native" context menu (cut/copy/paste/select all) and effectively uses JOSM user agent when performing HTTP request inJEditorPane.setPage(URL)
method.JosmHTMLEditorKit A subclass ofHTMLEditorKit
that fixes an uncommon design choice that shares the set stylesheet between all instances.JosmHTMLFactory Specialized HTML Factory allowing to display SVG images.JosmImageView Specialized Image View allowing to display SVG images.JosmListCellRenderer<E> A convenience list cell renderer to override.JosmPasswordField A subclass ofJPasswordField
to implement a workaround to JDK bug 6322854.JosmTable Generic table offering custom cell navigation features.JosmTextArea Subclass ofJTextArea
that adds a "native" context menu (cut/copy/paste/select all).JosmTextField Subclass ofJTextField
that: 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
.LargeTextTable Table with a scrolling behavior that is better suited for cells with large amounts of text.ListPopupMenu A popup menu for one or more lists.MultiSplitLayout The MultiSplitLayout layout manager recursively arranges its components in row and column groups called "Splits".MultiSplitLayout.Divider Models a single vertical/horiztonal divider.MultiSplitLayout.Leaf Models a java.awt Component child.MultiSplitLayout.Node Base class for the nodes that model a MultiSplitLayout.MultiSplitLayout.Split Defines a vertical or horizontal subdivision into two or more tiles.MultiSplitPane All properties in this class are bound: when a properties value is changed, all PropertyChangeListeners are fired.NativeFileChooser File chooser based on the AWT'sFileDialog
implementation, which looks like more a native file chooser than the Swing implementation.OrientationAction An action that toggles text orientation.OSDLabel On screen display label.OsmIdTextField A text field designed to enter one or several OSM primitive IDs.OsmIdTextField.OsmIdValidator Validator for an OSM primitive ID entered in aJTextComponent
.OsmPrimitivesTable Table displaying OSM primitives.OsmPrimitiveTypesComboBox A Combo box containing OSM primitive types (Node, Way, Relation).PopupMenuButton Button triggering the appearance of a JPopupMenu when activated.PopupMenuLauncher Utility class that helps to display popup menus on mouse events.QuadStateCheckBox A four-state checkbox.ScrollableTable Table offering easier scroll to a given row/column.SearchTextResultListPanel<T> A panel containing a search text field and a list of results for that search text.SearchTextResultListPanel.ResultListModel<T> SelectAllOnFocusGainedDecorator A helper class that selects all text as soon as aJTextComponent
receives focus.SwingFileChooser File chooser based on the Swing'sJFileChooser
implementation.TextContextualPopupMenu A popup menu designed for text components.UrlLabel Label that contains a clickable link.VerticallyScrollablePanel A panel that can be scrolled vertically. -
Enum Summary Enum Description AbstractTextComponentValidator.Status QuadStateCheckBox.State The 4 possible states of this checkbox. -
Exception Summary Exception Description MultiSplitLayout.InvalidLayoutException The specified Node is either the wrong type or was configured incorrectly.