• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java TGVelocities类的典型用法和代码示例

java 3次浏览

本文整理汇总了Java中org.herac.tuxguitar.song.models.TGVelocities的典型用法代码示例。如果您正苦于以下问题:Java TGVelocities类的具体用法?Java TGVelocities怎么用?Java TGVelocities使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

TGVelocities类属于org.herac.tuxguitar.song.models包,在下文中一共展示了TGVelocities类的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: initializeItems

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void initializeItems(ContextMenu menu) {
	TGContext context = findContext();
	TGCaret caret = TGSongViewController.getInstance(context).getCaret();
	TGNote note = caret.getSelectedNote();
	int selection = ((note != null) ? note.getVelocity() : caret.getVelocity());
	boolean running = TuxGuitar.getInstance(context).getPlayer().isRunning();
	
	this.initializeVelocityItem(menu, R.id.menu_velocity_ppp, TGVelocities.PIANO_PIANISSIMO, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_pp, TGVelocities.PIANISSIMO, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_p, TGVelocities.PIANO, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_mp, TGVelocities.MEZZO_PIANO, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_mf, TGVelocities.MEZZO_FORTE, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_f, TGVelocities.FORTE, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_ff, TGVelocities.FORTISSIMO, selection, running);
	this.initializeVelocityItem(menu, R.id.menu_velocity_fff, TGVelocities.FORTE_FORTISSIMO, selection, running);
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:17,
代码来源:TGVelocityMenu.java

示例2: writeGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void writeGrace(TGEffectGrace grace) throws IOException {
	if(grace.isDead()){
		writeUnsignedByte(255);
	}else{
		writeUnsignedByte(grace.getFret());
	}
	writeUnsignedByte(((grace.getDynamic() - TGVelocities.MIN_VELOCITY) / TGVelocities.VELOCITY_INCREMENT) + 1);
	if(grace.getTransition() == TGEffectGrace.TRANSITION_NONE){
		writeUnsignedByte(0);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_SLIDE){
		writeUnsignedByte(1);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_BEND){
		writeUnsignedByte(2);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_HAMMER){
		writeUnsignedByte(3);
	}
	writeUnsignedByte(grace.getDuration());
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:22,
代码来源:GP4OutputStream.java

示例3: writeGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void writeGrace(TGEffectGrace grace) throws IOException {
	if(grace.isDead()){
		writeUnsignedByte(0xff);
	}else{
		writeUnsignedByte(grace.getFret());
	}
	writeUnsignedByte(((grace.getDynamic() - TGVelocities.MIN_VELOCITY) / TGVelocities.VELOCITY_INCREMENT) + 1);
	if(grace.getTransition() == TGEffectGrace.TRANSITION_NONE){
		writeUnsignedByte(0);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_SLIDE){
		writeUnsignedByte(1);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_BEND){
		writeUnsignedByte(2);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_HAMMER){
		writeUnsignedByte(3);
	}
	writeUnsignedByte(grace.getDuration());
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:22,
代码来源:GP3OutputStream.java

示例4: readGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void readGrace(TGNoteEffect effect) throws IOException {
	int fret = readUnsignedByte();
	TGEffectGrace grace = getFactory().newEffectGrace();
	grace.setOnBeat(false);
	grace.setDead( (fret == 255) );
	grace.setFret( ((!grace.isDead())?fret:0) );
	grace.setDynamic( (TGVelocities.MIN_VELOCITY + (TGVelocities.VELOCITY_INCREMENT * readUnsignedByte())) - TGVelocities.VELOCITY_INCREMENT );
	int transition = readUnsignedByte();
	if(transition == 0){
		grace.setTransition(TGEffectGrace.TRANSITION_NONE);
	}
	else if(transition == 1){
		grace.setTransition(TGEffectGrace.TRANSITION_SLIDE);
	}
	else if(transition == 2){
		grace.setTransition(TGEffectGrace.TRANSITION_BEND);
	}
	else if(transition == 3){
		grace.setTransition(TGEffectGrace.TRANSITION_HAMMER);
	}
	grace.setDuration(readUnsignedByte());
	effect.setGrace(grace);
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:24,
代码来源:GP3InputStream.java

示例5: readGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void readGrace(TGNoteEffect effect) throws IOException {
	int fret = readUnsignedByte();
	TGEffectGrace grace = getFactory().newEffectGrace();
	grace.setOnBeat(false);
	grace.setDead( (fret == 255) );
	grace.setFret( ((!grace.isDead())?fret:0) );
	grace.setDynamic( (TGVelocities.MIN_VELOCITY + (TGVelocities.VELOCITY_INCREMENT * readUnsignedByte())) - TGVelocities.VELOCITY_INCREMENT );
	int transition = readUnsignedByte();
	if(transition == 0){
		grace.setTransition( TGEffectGrace.TRANSITION_NONE );
	}
	else if(transition == 1){
		grace.setTransition(  TGEffectGrace.TRANSITION_SLIDE );
	}
	else if(transition == 2){
		grace.setTransition(  TGEffectGrace.TRANSITION_BEND );
	}
	else if(transition == 3){
		grace.setTransition(  TGEffectGrace.TRANSITION_HAMMER );
	}
	grace.setDuration(readUnsignedByte());
	effect.setGrace(grace);
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:24,
代码来源:GP4InputStream.java

示例6: readGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void readGrace(TGNoteEffect effect) throws IOException {
	int fret = readUnsignedByte();
	int dynamic = readUnsignedByte();
	int transition = readByte();
	int duration = readUnsignedByte();
	int flags = readUnsignedByte();
	TGEffectGrace grace = getFactory().newEffectGrace();
	grace.setFret( fret );
	grace.setDynamic( (TGVelocities.MIN_VELOCITY + (TGVelocities.VELOCITY_INCREMENT * dynamic)) - TGVelocities.VELOCITY_INCREMENT );
	grace.setDuration(duration);
	grace.setDead( (flags & 0x01) != 0 );
	grace.setOnBeat( (flags & 0x02) != 0 );
	if(transition == 0){
		grace.setTransition(TGEffectGrace.TRANSITION_NONE);
	}
	else if(transition == 1){
		grace.setTransition(TGEffectGrace.TRANSITION_SLIDE);
	}
	else if(transition == 2){
		grace.setTransition(TGEffectGrace.TRANSITION_BEND);
	}
	else if(transition == 3){
		grace.setTransition(TGEffectGrace.TRANSITION_HAMMER);
	}
	effect.setGrace(grace);
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:27,
代码来源:GP5InputStream.java

示例7: writeGrace

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private void writeGrace(TGEffectGrace grace) throws IOException {
	writeUnsignedByte(grace.getFret());
	writeUnsignedByte(((grace.getDynamic() - TGVelocities.MIN_VELOCITY) / TGVelocities.VELOCITY_INCREMENT) + 1);
	if(grace.getTransition() == TGEffectGrace.TRANSITION_NONE){
		writeUnsignedByte(0);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_SLIDE){
		writeUnsignedByte(1);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_BEND){
		writeUnsignedByte(2);
	}
	else if(grace.getTransition() == TGEffectGrace.TRANSITION_HAMMER){
		writeUnsignedByte(3);
	}
	writeUnsignedByte(grace.getDuration());
	writeUnsignedByte( (grace.isDead() ? 0x01 : 0) | (grace.isOnBeat() ? 0x02 : 0) );
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:19,
代码来源:GP5OutputStream.java

示例8: parseDynamic

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private int parseDynamic(GPXBeat beat){
	int tgVelocity = TGVelocities.DEFAULT;
	if( beat.getDynamic() != null ){
		if( beat.getDynamic().equals("PPP")) {
			tgVelocity = TGVelocities.PIANO_PIANISSIMO;
		}else if( beat.getDynamic().equals("PP")) {
			tgVelocity = TGVelocities.PIANISSIMO;
		}else if( beat.getDynamic().equals("P")) {
			tgVelocity = TGVelocities.PIANO;
		}else if( beat.getDynamic().equals("MP")) {
			tgVelocity = TGVelocities.MEZZO_PIANO;
		}else if( beat.getDynamic().equals("MF")) {
			tgVelocity = TGVelocities.MEZZO_FORTE;
		}else if( beat.getDynamic().equals("F")) {
			tgVelocity = TGVelocities.FORTE;
		}else if( beat.getDynamic().equals("FF")) {
			tgVelocity = TGVelocities.FORTISSIMO;
		}else if( beat.getDynamic().equals("FFF")) {
			tgVelocity = TGVelocities.FORTE_FORTISSIMO;
		}
	}
	return tgVelocity;
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:24,
代码来源:GPXDocumentParser.java

示例9: getRealVelocity

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private int getRealVelocity(MidiSequenceHelper sh, TGNote note, TGTrack tgTrack, TGChannel tgChannel, int mIndex,int bIndex){
	int velocity = note.getVelocity();
	
	//Check for Hammer effect
	if(!tgChannel.isPercussionChannel()){
		MidiNoteHelper previousNote = getPreviousNote(sh, note,tgTrack,mIndex,bIndex,false);
		if(previousNote != null && previousNote.getNote().getEffect().isHammer()){
			velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity - 25));
		}
	}
	
	//Check for GhostNote effect
	if(note.getEffect().isGhostNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity - TGVelocities.VELOCITY_INCREMENT));
	}else if(note.getEffect().isAccentuatedNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity + TGVelocities.VELOCITY_INCREMENT));
	}else if(note.getEffect().isHeavyAccentuatedNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity + (TGVelocities.VELOCITY_INCREMENT * 2)));
	}
	
	return ((velocity > 127)?127:velocity);
}
 

开发者ID:axlecho,
项目名称:tuxguitar,
代码行数:23,
代码来源:MidiSequenceParser.java

示例10: play

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
protected void play(final int value){
	new Thread(new Runnable() {
		public void run() {
			TGTrack tgTrack = getMeasure().getTrack();
			TGChannel tgChannel = TuxGuitar.getInstance().getSongManager().getChannel(tgTrack.getSong(), tgTrack.getChannelId());
			if( tgChannel != null ){
				int volume = TGChannel.DEFAULT_VOLUME;
				int balance = TGChannel.DEFAULT_BALANCE;
				int chorus = tgChannel.getChorus();
				int reverb = tgChannel.getReverb();
				int phaser = tgChannel.getPhaser();
				int tremolo = tgChannel.getTremolo();
				int channel = tgChannel.getChannelId();
				int program = tgChannel.getProgram();
				int bank = tgChannel.getBank();
				int[][] beat = new int[][]{ new int[]{ (tgTrack.getOffset() + value) , TGVelocities.DEFAULT } };
				TuxGuitar.getInstance().getPlayer().playBeat(channel,bank,program, volume, balance,chorus,reverb,phaser,tremolo,beat);
			}
		}
	}).start();
}
 

开发者ID:theokyr,
项目名称:TuxGuitar-1.3.1-fork,
代码行数:22,
代码来源:TGMatrixEditor.java

示例11: loadDynamicIcon

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void loadDynamicIcon(TGToolBar toolBar, boolean force){
	int dynamicValue = TGVelocities.DEFAULT;
	
	Tablature tablature = toolBar.getTablature();
	if( tablature != null ) {
		Caret caret = tablature.getCaret();
		TGNote selectedNote = caret.getSelectedNote();
		dynamicValue = ((selectedNote != null) ? selectedNote.getVelocity() : caret.getVelocity());
	}
	
	if( force || (this.dynamicValue == null || !this.dynamicValue.equals(dynamicValue))) {
		Image icon = this.getDynamicIcon(toolBar, dynamicValue);
		if( icon != null ) { 
			this.menuItem.setImage(icon);
			this.dynamicValue = dynamicValue;
		}
	}
}
 

开发者ID:theokyr,
项目名称:TuxGuitar-1.3.1-fork,
代码行数:19,
代码来源:TGToolBarSectionDynamic.java

示例12: createMenu

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void createMenu(TGToolBar toolBar, ToolItem item) {
	Caret caret = TuxGuitar.getInstance().getTablatureEditor().getTablature().getCaret();
	int selection = ((caret.getSelectedNote() != null) ? caret.getSelectedNote().getVelocity() : caret.getVelocity());
	boolean running = TuxGuitar.getInstance().getPlayer().isRunning();
	
	Rectangle rect = item.getBounds();
	Point pt = item.getParent().toDisplay(new Point(rect.x, rect.y));
	
	Menu menu = new Menu(item.getParent().getShell());
	
	this.createMenuItem(toolBar, menu, TGVelocities.PIANO_PIANISSIMO, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.PIANISSIMO, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.PIANO, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.MEZZO_PIANO, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.MEZZO_FORTE, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.FORTE, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.FORTISSIMO, selection, running);
	this.createMenuItem(toolBar, menu, TGVelocities.FORTE_FORTISSIMO, selection, running);
	
	menu.setLocation(pt.x, pt.y + rect.height);
	menu.setVisible(true);
}
 

开发者ID:theokyr,
项目名称:TuxGuitar-1.3.1-fork,
代码行数:23,
代码来源:TGToolBarSectionDynamic.java

示例13: update

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void update(){
	TGNote note = TuxGuitar.getInstance().getTablatureEditor().getTablature().getCaret().getSelectedNote();
	int velocity = ((note != null)?note.getVelocity():TuxGuitar.getInstance().getTablatureEditor().getTablature().getCaret().getVelocity());
	boolean running = TuxGuitar.getInstance().getPlayer().isRunning();
	this.pianoPianissimo.setSelection(velocity == TGVelocities.PIANO_PIANISSIMO);
	this.pianoPianissimo.setEnabled(!running);
	this.pianissimo.setSelection(velocity == TGVelocities.PIANISSIMO);
	this.pianissimo.setEnabled(!running);
	this.piano.setSelection(velocity == TGVelocities.PIANO);
	this.piano.setEnabled(!running);
	this.mezzoPiano.setSelection(velocity == TGVelocities.MEZZO_PIANO);
	this.mezzoPiano.setEnabled(!running);
	this.mezzoForte.setSelection(velocity == TGVelocities.MEZZO_FORTE);
	this.mezzoForte.setEnabled(!running);
	this.forte.setSelection(velocity == TGVelocities.FORTE);
	this.forte.setEnabled(!running);
	this.fortissimo.setSelection(velocity == TGVelocities.FORTISSIMO);
	this.fortissimo.setEnabled(!running);
	this.forteFortissimo.setSelection(velocity == TGVelocities.FORTE_FORTISSIMO);
	this.forteFortissimo.setEnabled(!running);
}
 

开发者ID:theokyr,
项目名称:TuxGuitar-1.3.1-fork,
代码行数:22,
代码来源:DynamicMenuItem.java

示例14: beatVolume

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private int beatVolume() {
	if(voice==null) addVoice("1 clef=treble");
	ABCTrack trk=(ABCTrack) voice.get(this.track);
	int v=trk.getVolume();
	int tpb=ticksperbar/timeSignature.getNumerator();
	int b=ticks/tpb;
	if(v<0) v=TGVelocities.DEFAULT;
	if(b<beatstring.length()) {
		char fmp=beatstring.charAt(b);
		int perc=beat["fmp".indexOf(fmp)];
		v *= perc;
		v /= 100;
		if(v>127) v=127;
	}
	return v;
}
 

开发者ID:theokyr,
项目名称:TuxGuitar-1.3.1-fork,
代码行数:17,
代码来源:ABCSong.java

示例15: getRealVelocity

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
private int getRealVelocity(TGNote note, TGTrack songTrack, int mIndex,int bIndex){
	int velocity = note.getVelocity();
	
	//Check for Hammer effect
	if(!songTrack.isPercussionTrack()){
		TGNote prevNote = getPreviousNote(note,songTrack,mIndex,bIndex,false);
		if(prevNote != null && prevNote.getEffect().isHammer()){
			velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity - 25));
		}
	}
	
	//Check for GhostNote effect
	if(note.getEffect().isGhostNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity - TGVelocities.VELOCITY_INCREMENT));
	}else if(note.getEffect().isAccentuatedNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity + TGVelocities.VELOCITY_INCREMENT));
	}else if(note.getEffect().isHeavyAccentuatedNote()){
		velocity = Math.max(TGVelocities.MIN_VELOCITY,(velocity + (TGVelocities.VELOCITY_INCREMENT * 2)));
	}
	
	return ((velocity > 127)?127:velocity);
}
 

开发者ID:Totallicks,
项目名称:totallicks-tuxguitar,
代码行数:23,
代码来源:MidiSequenceParser.java

示例16: play

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
protected void play(final int value){
	new Thread(new Runnable() {
		public void run() {
			TGTrack track = getMeasure().getTrack();
			int volume = TGChannel.DEFAULT_VOLUME;
			int balance = TGChannel.DEFAULT_BALANCE;
			int chorus = track.getChannel().getChorus();
			int reverb = track.getChannel().getReverb();
			int phaser = track.getChannel().getPhaser();
			int tremolo = track.getChannel().getTremolo();
			int channel = track.getChannel().getChannel();
			int program = track.getChannel().getInstrument();
			int[][] beat = new int[][]{ new int[]{ (track.getOffset() + value) , TGVelocities.DEFAULT } };
			TuxGuitar.instance().getPlayer().playBeat(channel,program, volume, balance,chorus,reverb,phaser,tremolo,beat);
		}
	}).start();
}
 

开发者ID:Totallicks,
项目名称:totallicks-tuxguitar,
代码行数:18,
代码来源:MatrixEditor.java

示例17: update

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void update(){
	Caret caret = TuxGuitar.instance().getTablatureEditor().getTablature().getCaret();
	int velocity = ((caret.getSelectedNote() != null)?caret.getSelectedNote().getVelocity():caret.getVelocity());
	boolean running = TuxGuitar.instance().getPlayer().isRunning();
	this.pianoPianissimo.setSelection(velocity == TGVelocities.PIANO_PIANISSIMO);
	this.pianoPianissimo.setEnabled( !running );
	this.pianissimo.setSelection(velocity == TGVelocities.PIANISSIMO);
	this.pianissimo.setEnabled( !running );
	this.piano.setSelection(velocity == TGVelocities.PIANO);
	this.piano.setEnabled( !running );
	this.mezzoPiano.setSelection(velocity == TGVelocities.MEZZO_PIANO);
	this.mezzoPiano.setEnabled( !running );
	this.mezzoForte.setSelection(velocity == TGVelocities.MEZZO_FORTE);
	this.mezzoForte.setEnabled( !running );
	this.forte.setSelection(velocity == TGVelocities.FORTE);
	this.forte.setEnabled( !running );
	this.fortissimo.setSelection(velocity == TGVelocities.FORTISSIMO);
	this.fortissimo.setEnabled( !running );
	this.forteFortissimo.setSelection(velocity == TGVelocities.FORTE_FORTISSIMO);
	this.forteFortissimo.setEnabled( !running );
}
 

开发者ID:Totallicks,
项目名称:totallicks-tuxguitar,
代码行数:22,
代码来源:DynamicToolItems.java

示例18: update

点赞 3

import org.herac.tuxguitar.song.models.TGVelocities; //导入依赖的package包/类
public void update(){
	TGNote note = TuxGuitar.instance().getTablatureEditor().getTablature().getCaret().getSelectedNote();
	int velocity = ((note != null)?note.getVelocity():TuxGuitar.instance().getTablatureEditor().getTablature().getCaret().getVelocity());
	boolean running = TuxGuitar.instance().getPlayer().isRunning();
	this.pianoPianissimo.setSelection(velocity == TGVelocities.PIANO_PIANISSIMO);
	this.pianoPianissimo.setEnabled(!running);
	this.pianissimo.setSelection(velocity == TGVelocities.PIANISSIMO);
	this.pianissimo.setEnabled(!running);
	this.piano.setSelection(velocity == TGVelocities.PIANO);
	this.piano.setEnabled(!running);
	this.mezzoPiano.setSelection(velocity == TGVelocities.MEZZO_PIANO);
	this.mezzoPiano.setEnabled(!running);
	this.mezzoForte.setSelection(velocity == TGVelocities.MEZZO_FORTE);
	this.mezzoForte.setEnabled(!running);
	this.forte.setSelection(velocity == TGVelocities.FORTE);
	this.forte.setEnabled(!running);
	this.fortissimo.setSelection(velocity == TGVelocities.FORTISSIMO);
	this.fortissimo.setEnabled(!running);
	this.forteFortissimo.setSelection(velocity == TGVelocities.FORTE_FORTISSIMO);
	this.forteFortissimo.setEnabled(!running);
}
 

开发者ID:Totallicks,
项目名称:totallicks-tuxguitar,
代码行数:22,
代码来源:DynamicMenuItem.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)