public class BookmarkSelection extends java.lang.Object implements DownloadSelection
Modifier and Type | Class and Description |
---|---|
(package private) class |
BookmarkSelection.AddAction
The action to add a new bookmark for the current download area.
|
(package private) class |
BookmarkSelection.DoubleClickAdapter |
(package private) class |
BookmarkSelection.RemoveAction |
(package private) class |
BookmarkSelection.RenameAction |
Modifier and Type | Field and Description |
---|---|
private BookmarkSelection.AddAction |
actAdd
the add action
|
private JosmTextArea |
bboxDisplay |
private BookmarkList |
bookmarks
the list of bookmarks
|
private Bounds |
currentArea
the currently selected download area.
|
private JMultilineLabel |
lblCurrentDownloadArea
displays information about the current download area
|
private DownloadDialog |
parent
the parent download GUI
|
Constructor and Description |
---|
BookmarkSelection() |
Modifier and Type | Method and Description |
---|---|
void |
addGui(DownloadDialog gui)
Add the GUI elements to the dialog.
|
protected javax.swing.JPanel |
buildButtonPanel()
Creates the panel with the action buttons on the left
|
protected javax.swing.JPanel |
buildDownloadAreaAddPanel() |
void |
setDownloadArea(Bounds area)
Sets the current download area
|
protected void |
updateDownloadAreaLabel() |
private Bounds currentArea
private BookmarkList bookmarks
private DownloadDialog parent
private JMultilineLabel lblCurrentDownloadArea
private final JosmTextArea bboxDisplay
private BookmarkSelection.AddAction actAdd
public BookmarkSelection()
protected javax.swing.JPanel buildButtonPanel()
protected javax.swing.JPanel buildDownloadAreaAddPanel()
public void addGui(DownloadDialog gui)
DownloadSelection
addGui
in interface DownloadSelection
protected void updateDownloadAreaLabel()
public void setDownloadArea(Bounds area)
setDownloadArea
in interface DownloadSelection
area
- the download area.