source: osm/applications/editors/josm/plugins/imagery_offset_db/src/iodb/OffsetDialogButton.java@ 28008

Last change on this file since 28008 was 28008, checked in by zverik, 12 years ago

Something works :)

File size: 506 bytes
Line 
1package iodb;
2
3import javax.swing.JButton;
4
5/**
6 * A button which shows offset information.
7 *
8 * @author zverik
9 */
10public class OffsetDialogButton extends JButton {
11
12 private ImageryOffsetBase offset;
13
14 public OffsetDialogButton( ImageryOffsetBase offset ) {
15 super(offset.getDescription() + " (" + offset.getPosition().lat() + ", " + offset.getPosition().lon() + ")");
16 this.offset = offset;
17 }
18
19 public ImageryOffsetBase getOffset() {
20 return offset;
21 }
22
23}
Note: See TracBrowser for help on using the repository browser.