~ubuntu-branches/ubuntu/maverick/tuxguitar/maverick

« back to all changes in this revision

Viewing changes to TuxGuitar/src/org/herac/tuxguitar/song/models/TGTrack.java

  • Committer: Bazaar Package Importer
  • Author(s): Philippe Coval
  • Date: 2009-04-25 19:49:27 UTC
  • mfrom: (1.1.3 upstream) (2.1.7 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090425194927-pblqed0zxp0pmyeq
Tags: 1.1-1
* New Upstream Release (Closes: #489859) (LP: #366476)
* Merged patch : tuxguitar_1.0.dak-1ubuntu1.patch
* debian/README.txt
  - suggests to install tuxguitar-jsa

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
        public static final int MIN_OFFSET = -24;
23
23
        
24
24
        private int number;
25
 
        private int offset;     
 
25
        private int offset;
 
26
        private boolean solo;
 
27
        private boolean mute;
26
28
        private String name;
27
29
        private List measures;
28
30
        private List strings;
34
36
        public TGTrack(TGFactory factory) {
35
37
                this.number = 0;
36
38
                this.offset = 0;
 
39
                this.solo = false;
 
40
                this.mute = false;
37
41
                this.name = new String();
38
42
                this.measures = new ArrayList();
39
43
                this.strings = new ArrayList();
119
123
                this.offset = offset;
120
124
        }
121
125
        
 
126
        public boolean isSolo() {
 
127
                return this.solo;
 
128
        }
 
129
        
 
130
        public void setSolo(boolean solo) {
 
131
                this.solo = solo;
 
132
        }
 
133
        
 
134
        public boolean isMute() {
 
135
                return this.mute;
 
136
        }
 
137
        
 
138
        public void setMute(boolean mute) {
 
139
                this.mute = mute;
 
140
        }
 
141
        
122
142
        public TGLyric getLyrics() {
123
143
                return this.lyrics;
124
144
        }