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

« back to all changes in this revision

Viewing changes to TuxGuitar-ptb/src/org/herac/tuxguitar/io/ptb/base/PTSymbol.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.io.ptb.base;
 
2
 
 
3
public class PTSymbol implements PTComponent{
 
4
        
 
5
        private int endNumber;
 
6
        
 
7
        public PTSymbol(){
 
8
                super();
 
9
        }
 
10
        
 
11
        public int getEndNumber() {
 
12
                return this.endNumber;
 
13
        }
 
14
        
 
15
        public void setEndNumber(int endNumber) {
 
16
                this.endNumber = endNumber;
 
17
        }
 
18
        
 
19
        public PTComponent getClone(){
 
20
                PTSymbol symbol = new PTSymbol();
 
21
                symbol.setEndNumber( getEndNumber() );
 
22
                return symbol;
 
23
        }
 
24
}