Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.validation.tests |
Provides the classes for JOSM data validation tests.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.autofilter |
Provides the classes for automatic filters (filters automatically created on current data).
|
org.openstreetmap.josm.gui.bbox |
Provides GUI classes for displaying a customizable and interactive bounding box.
|
org.openstreetmap.josm.gui.bugreport |
Provides GUI classes for the bug report system, allowing users to create tickets on issue tracker directly from JOSM.
|
org.openstreetmap.josm.gui.conflict.pair |
Provides the classes for displaying conflicts as pair of lists.
|
org.openstreetmap.josm.gui.conflict.pair.nodes |
Provides the classes for displaying conflicts in ways list of nodes.
|
org.openstreetmap.josm.gui.conflict.pair.relation |
Provides the classes for displaying conflicts in OSM primitive relation memberships.
|
org.openstreetmap.josm.gui.conflict.tags |
Provides the classes for resolving conflicts between OSM tags.
|
org.openstreetmap.josm.gui.dialogs |
Provides three kinds of dialogs:
Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI
Changeset dialog based on a standalone implementation, dedicated to OSM changesets management
Extended dialogs for everything else
|
org.openstreetmap.josm.gui.dialogs.changeset |
Standalone dialog allowing to handle OSM changesets (query and display them).
|
org.openstreetmap.josm.gui.dialogs.changeset.query |
Provides classes allowing to query changesets to the OSM API.
|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
org.openstreetmap.josm.gui.dialogs.relation |
Toggle dialog allowing to display currently loaded relations and perform operations on them.
|
org.openstreetmap.josm.gui.download |
Provides GUI classes for the download dialog.
|
org.openstreetmap.josm.gui.help |
Help system based on an embedded web browser fetching contents from JOSM wiki.
|
org.openstreetmap.josm.gui.history |
Provides GUI classes for handling history of OSM objects.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.io.importexport |
Provides GUI classes for handling file import/export operations.
|
org.openstreetmap.josm.gui.layer |
Provides classes for handling the different kinds of map layers.
|
org.openstreetmap.josm.gui.layer.geoimage |
Provides classes for handling layers displaying geottaged pictures.
|
org.openstreetmap.josm.gui.layer.gpx |
Provides classes for handling GPX layers.
|
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
org.openstreetmap.josm.gui.preferences |
Provides generic classes for handling JOSM preferences.
|
org.openstreetmap.josm.gui.preferences.advanced |
Provides classes for handling advanced preferences.
|
org.openstreetmap.josm.gui.preferences.audio |
Provides classes for handling audio preferences.
|
org.openstreetmap.josm.gui.preferences.display |
Provides classes for handling display preferences.
|
org.openstreetmap.josm.gui.preferences.imagery |
Provides classes for handling imagery preferences.
|
org.openstreetmap.josm.gui.preferences.map |
Provides classes for handling map preferences.
|
org.openstreetmap.josm.gui.preferences.plugin |
Provides classes for handling plugin preferences.
|
org.openstreetmap.josm.gui.preferences.projection |
Provides classes for handling projection preferences.
|
org.openstreetmap.josm.gui.preferences.server |
Provides classes for handling connection preferences, including server authentication and proxy settings.
|
org.openstreetmap.josm.gui.preferences.shortcut |
Provides classes for handling shortcut preferences.
|
org.openstreetmap.josm.gui.tagging |
Provides classes for handling edition of OSM tags: tag tables, tag editors.
|
org.openstreetmap.josm.gui.tagging.ac |
Provides GUI classes for handling autocompletion of tags.
|
org.openstreetmap.josm.gui.tagging.presets |
Provides classes for handling tagging presets.
|
org.openstreetmap.josm.gui.tagging.presets.items |
Provides classes for handling tagging presets items.
|
org.openstreetmap.josm.gui.widgets |
Provides GUI widgets customized for JOSM needs.
|
org.openstreetmap.josm.plugins |
Provides the classes for JOSM plugins system.
|
Class and Description |
---|
AbstractFileChooser
Abstract class to allow different file chooser implementations.
|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
OsmPrimitivesTable
Table displaying OSM primitives.
|
Class and Description |
---|
OSDLabel
On screen display label.
|
Class and Description |
---|
EditableList
A
JList containing items, and JButton s to add/edit/delete items. |
Class and Description |
---|
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.
|
JosmEditorPane
Subclass of
JEditorPane that adds a "native" context menu (cut/copy/paste/select all)
and effectively uses JOSM user agent when performing HTTP request in JEditorPane.setPage(URL) method. |
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
OSDLabel
On screen display label.
|
Class and Description |
---|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
PopupMenuButton
Button triggering the appearance of a JPopupMenu when activated.
|
Class and Description |
---|
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
Class and Description |
---|
JosmTable
Generic table offering custom cell navigation features.
|
OsmPrimitivesTable
Table displaying OSM primitives.
|
OsmPrimitivesTableModel
A table model that displays OSM primitives in it's rows
|
Class and Description |
---|
JosmTable
Generic table offering custom cell navigation features.
|
OsmPrimitivesTable
Table displaying OSM primitives.
|
OsmPrimitivesTableModel
A table model that displays OSM primitives in it's rows
|
Class and Description |
---|
JosmTable
Generic table offering custom cell navigation features.
|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
OsmPrimitivesTable
Table displaying OSM primitives.
|
OsmPrimitivesTableModel
A table model that displays OSM primitives in it's rows
|
Class and Description |
---|
AutoAdjustingSplitPane
Auto adjusting split pane when parent is resized.
|
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTable
Generic table offering custom cell navigation features.
|
Class and Description |
---|
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.
|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
HtmlPanel
This panel can be used to display larger sections of formatted text in
HTML.
|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
ListPopupMenu
A popup menu for one or more lists.
|
MultiSplitPane
All properties in this class are bound: when a properties value
is changed, all PropertyChangeListeners are fired.
|
OSDLabel
On screen display label.
|
OsmIdTextField
A text field designed to enter one or several OSM primitive IDs.
|
OsmPrimitiveTypesComboBox
A Combo box containing OSM primitive types (Node, Way, Relation).
|
PopupMenuLauncher
Utility class that helps to display popup menus on mouse events.
|
ScrollableTable
Table offering easier scroll to a given row/column.
|
SearchTextResultListPanel
A panel containing a search text field and a list of results for that search text.
|
Class and Description |
---|
ChangesetIdTextField
A text field designed to enter a single OSM changeset ID.
|
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
PopupMenuLauncher
Utility class that helps to display popup menus on mouse events.
|
Class and Description |
---|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
BoundingBoxSelectionPanel
A panel that allows the user to input the coordinates of a lat/lon box
|
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
PopupMenuLauncher
Utility class that helps to display popup menus on mouse events.
|
Class and Description |
---|
JosmTable
Generic table offering custom cell navigation features.
|
OsmPrimitivesTable
Table displaying OSM primitives.
|
OsmPrimitivesTableModel
A table model that displays OSM primitives in it's rows
|
Class and Description |
---|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
SearchTextResultListPanel
A panel containing a search text field and a list of results for that search text.
|
SearchTextResultListPanel.ResultListModel |
Class and Description |
---|
JosmEditorPane
Subclass of
JEditorPane that adds a "native" context menu (cut/copy/paste/select all)
and effectively uses JOSM user agent when performing HTTP request in JEditorPane.setPage(URL) method. |
Class and Description |
---|
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
PopupMenuLauncher
Utility class that helps to display popup menus on mouse events.
|
UrlLabel
Label that contains a clickable link.
|
Class and Description |
---|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmPasswordField
A subclass of
JPasswordField to implement a workaround to
JDK bug 6322854. |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
HtmlPanel
This panel can be used to display larger sections of formatted text in
HTML.
|
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
DateEditorWithSlider
Widget originally created for date filtering of GPX tracks.
|
Class and Description |
---|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
DefaultTextComponentValidator
Default text component validator that only checks that an input field is not empty.
|
HtmlPanel
This panel can be used to display larger sections of formatted text in
HTML.
|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmPasswordField
A subclass of
JPasswordField to implement a workaround to
JDK bug 6322854. |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
VerticallyScrollablePanel
A panel that can be scrolled vertically.
|
Class and Description |
---|
AbstractFileChooser
Abstract class to allow different file chooser implementations.
|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
VerticallyScrollablePanel
A panel that can be scrolled vertically.
|
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTextField
Subclass of
JTextField 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 of JTextField . |
VerticallyScrollablePanel
A panel that can be scrolled vertically.
|
Class and Description |
---|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
VerticallyScrollablePanel
A panel that can be scrolled vertically.
|
Class and Description |
---|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
DefaultTextComponentValidator
Default text component validator that only checks that an input field is not empty.
|
HistoryComboBox
An
AutoCompletingComboBox which keeps a history |
JosmPasswordField
A subclass of
JPasswordField to implement a workaround to
JDK bug 6322854. |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
VerticallyScrollablePanel
A panel that can be scrolled vertically.
|
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
JosmTable
Generic table offering custom cell navigation features.
|
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
Class and Description |
---|
SearchTextResultListPanel
A panel containing a search text field and a list of results for that search text.
|
Class and Description |
---|
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
QuadStateCheckBox
A four-state checkbox.
|
QuadStateCheckBox.State
The 4 possible states of this checkbox.
|
Class and Description |
---|
AbstractFileChooser
Abstract class to allow different file chooser implementations.
|
AbstractIdTextField
An abstract class for ID text fields.
|
AbstractTextComponentValidator
This is an abstract class for a validator on a text component.
|
ComboBoxHistory
A data model for
HistoryComboBox |
CompileSearchTextDecorator
Decorates a text component with an execution to the search compiler.
|
FileChooserManager
A chained utility class used to create and open
AbstractFileChooser dialogs.Use only this class if you need to control specifically your AbstractFileChooser dialog. |
JosmComboBox
Class overriding each
JComboBox in JOSM to control consistently the number of displayed items at once.This is needed because of the default Java behaviour that may display the top-down list off the screen (see #7917). |
JosmComboBox.ContextMenuHandler |
JosmEditorPane
Subclass of
JEditorPane that adds a "native" context menu (cut/copy/paste/select all)
and effectively uses JOSM user agent when performing HTTP request in JEditorPane.setPage(URL) method. |
JosmTable
Generic table offering custom cell navigation features.
|
JosmTable.SelectNextColumnCellAction
Action to be run when the user navigates to the next cell in the table, for instance by
pressing TAB or ENTER.
|
JosmTable.SelectPreviousColumnCellAction
Action to be run when the user navigates to the previous cell in the table, for instance by
pressing Shift-TAB
|
JosmTextArea
Subclass of
JTextArea that adds a "native" context menu (cut/copy/paste/select all). |
JosmTextField
Subclass of
JTextField 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 of JTextField . |
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.Node
Base class for the nodes that model a MultiSplitLayout.
|
MultiSplitLayout.Split
Defines a vertical or horizontal subdivision into two or more
tiles.
|
MultiSplitPane.DividerPainter
Draws a single Divider.
|
OsmPrimitivesTableModel
A table model that displays OSM primitives in it's rows
|
PopupMenuLauncher
Utility class that helps to display popup menus on mouse events.
|
QuadStateCheckBox.QuadStateDecorator
Button model for the
QuadStateCheckBox . |
QuadStateCheckBox.State
The 4 possible states of this checkbox.
|
SearchTextResultListPanel.ResultListModel |
TextContextualPopupMenu
A popup menu designed for text components.
|
TextContextualPopupMenu.RedoAction |
TextContextualPopupMenu.UndoAction |
Class and Description |
---|
JMultilineLabel
Creates a normal label that will wrap its contents if there less width than
required to print it in one line.
|