APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.media.sound

public final Class ModelStandardIndexedDirector

extends Object
implements ModelDirector
Class Inheritance
All Implemented Interfaces
com.sun.media.sound.ModelDirector
Imports
java.util.Arrays

A standard indexed director who chooses performers by there keyfrom,keyto,velfrom,velto properties.
Author
Karl Helgason

Field Summary

Modifier and TypeField and Description
private int[]
private int[][]
private boolean
private boolean
private final ModelPerformer[]
private final ModelDirectedPlayer
private byte[][]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
public void
private int[]
lookupIndex(int x, int y)

public void
noteOff(int noteNumber, int velocity)

Implements com.sun.media.sound.ModelDirector.noteOff.

public void
noteOn(int noteNumber, int velocity)

Implements com.sun.media.sound.ModelDirector.noteOn.

private int
restrict(int value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countersback to summary
private int[] counters
matback to summary
private int[][] mat
noteOffUsedback to summary
private boolean noteOffUsed
noteOnUsedback to summary
private boolean noteOnUsed
performersback to summary
private final ModelPerformer[] performers
playerback to summary
private final ModelDirectedPlayer player
trantablesback to summary
private byte[][] trantables

Constructor Detail

ModelStandardIndexedDirectorback to summary
public ModelStandardIndexedDirector(final ModelPerformer[] performers, final ModelDirectedPlayer player)

Method Detail

buildindexback to summary
private void buildindex()
closeback to summary
public void close()

Implements com.sun.media.sound.ModelDirector.close.

Annotations
@Override
lookupIndexback to summary
private int[] lookupIndex(int x, int y)
noteOffback to summary
public void noteOff(int noteNumber, int velocity)

Implements com.sun.media.sound.ModelDirector.noteOff.

Annotations
@Override
noteOnback to summary
public void noteOn(int noteNumber, int velocity)

Implements com.sun.media.sound.ModelDirector.noteOn.

Annotations
@Override
restrictback to summary
private int restrict(int value)