~ubuntu-branches/ubuntu/oneiric/tuxguitar/oneiric

« back to all changes in this revision

Viewing changes to TuxGuitar/src/org/herac/tuxguitar/gui/printer/PrintStyles.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2008-06-19 00:30:30 UTC
  • mto: (5.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20080619003030-h719szrhsngou7c6
Tags: upstream-1.0
ImportĀ upstreamĀ versionĀ 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.herac.tuxguitar.gui.printer;
 
2
 
 
3
import org.herac.tuxguitar.gui.editors.tab.layout.ViewLayout;
 
4
 
 
5
public class PrintStyles {
 
6
        
 
7
        private int trackNumber;
 
8
        
 
9
        private int fromMeasure;
 
10
        
 
11
        private int toMeasure;
 
12
        
 
13
        private int style;
 
14
        
 
15
        public PrintStyles() {
 
16
                this(-1,-1,-1,ViewLayout.DISPLAY_TABLATURE);
 
17
        }
 
18
        
 
19
        public PrintStyles(int trackNumber,int fromMeasure, int toMeasure, int style) {
 
20
                this.trackNumber = trackNumber;
 
21
                this.fromMeasure = fromMeasure;
 
22
                this.toMeasure = toMeasure;
 
23
                this.style = style;
 
24
        }
 
25
        
 
26
        public int getFromMeasure() {
 
27
                return this.fromMeasure;
 
28
        }
 
29
        
 
30
        public void setFromMeasure(int fromMeasure) {
 
31
                this.fromMeasure = fromMeasure;
 
32
        }
 
33
        
 
34
        public int getStyle() {
 
35
                return this.style;
 
36
        }
 
37
        
 
38
        public void setStyle(int style) {
 
39
                this.style = style;
 
40
        }
 
41
        
 
42
        public int getToMeasure() {
 
43
                return this.toMeasure;
 
44
        }
 
45
        
 
46
        public void setToMeasure(int toMeasure) {
 
47
                this.toMeasure = toMeasure;
 
48
        }
 
49
        
 
50
        public int getTrackNumber() {
 
51
                return this.trackNumber;
 
52
        }
 
53
        
 
54
        public void setTrackNumber(int trackNumber) {
 
55
                this.trackNumber = trackNumber;
 
56
        }
 
57
}