source:
osm/applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialogButton.java@
27986
Last change on this file since 27986 was 27986, checked in by , 12 years ago | |
---|---|
File size: 360 bytes |
Line | |
---|---|
1 | package iodb; |
2 | |
3 | import javax.swing.JButton; |
4 | |
5 | /** |
6 | * A button which shows offset information. |
7 | * |
8 | * @author zverik |
9 | */ |
10 | public class OffsetDialogButton extends JButton { |
11 | |
12 | public OffsetDialogButton( ImageryOffsetBase offset ) { |
13 | super(offset.getDescription() + " (" + offset.getPosition().lat() + ", " + offset.getPosition().lon() + ")"); |
14 | } |
15 | |
16 | } |
Note:
See TracBrowser
for help on using the repository browser.