File: KmlExportOptions.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (101 lines) | stat: -rw-r--r-- 1,905 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package tim.prune.save.xml;

import java.awt.Color;
import java.util.TimeZone;

/** Hold the options for the Kml/Kmz export */
public class KmlExportOptions
{
	private boolean _exportTrackPoints;
	private boolean _exportWaypoints;
	private boolean _exportPhotos;
	private boolean _exportAudios;
	private boolean _exportJustSelection;

	private boolean _absoluteAltitudes;

	private String _title;
	private Color _trackColour;
	private TimeZone _timezone;

	KmlExportOptions setExportTrackPoints(boolean inExport) {
		_exportTrackPoints = inExport;
		return this;
	}

	KmlExportOptions setExportWaypoints(boolean inExport) {
		_exportWaypoints = inExport;
		return this;
	}

	KmlExportOptions setExportPhotos(boolean inExport) {
		_exportPhotos = inExport;
		return this;
	}

	KmlExportOptions setExportAudios(boolean inExport) {
		_exportAudios = inExport;
		return this;
	}

	KmlExportOptions setExportJustSelection(boolean inExport) {
		_exportJustSelection = inExport;
		return this;
	}

	KmlExportOptions setAbsoluteAltitudes(boolean inAbsolute) {
		_absoluteAltitudes = inAbsolute;
		return this;
	}

	KmlExportOptions setTitle(String inTitle) {
		_title = inTitle;
		return this;
	}

	KmlExportOptions setTrackColour(Color inColour) {
		_trackColour = inColour;
		return this;
	}

	KmlExportOptions setTimezone(TimeZone inZone) {
		_timezone = inZone;
		return this;
	}

	boolean getExportTrackPoints() {
		return _exportTrackPoints;
	}

	boolean getExportWaypoints() {
		return _exportWaypoints;
	}

	boolean getExportPhotos() {
		return _exportPhotos;
	}

	boolean getExportAudios() {
		return _exportAudios;
	}

	boolean getExportJustSelection() {
		return _exportJustSelection;
	}

	boolean getAbsoluteAltitudes() {
		return _absoluteAltitudes;
	}

	String getTitle() {
		return _title;
	}

	Color getTrackColour() {
		return _trackColour;
	}

	TimeZone getTimezone() {
		return _timezone;
	}
}