|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.gui.download.BookmarkSelection
public class BookmarkSelection
DownloadAreaSelector which manages a list of "bookmarks", i.e. a list of name download areas.
Nested Class Summary | |
---|---|
(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
|
Field Summary | |
---|---|
private BookmarkSelection.AddAction |
actAdd
the add action |
private javax.swing.JTextArea |
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 Summary | |
---|---|
BookmarkSelection()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Bounds currentArea
private BookmarkList bookmarks
private DownloadDialog parent
private JMultilineLabel lblCurrentDownloadArea
private final javax.swing.JTextArea bboxDisplay
private BookmarkSelection.AddAction actAdd
Constructor Detail |
---|
public BookmarkSelection()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |