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 zverik, 12 years ago

imagery_offset_db initial commit

File size: 360 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 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.