|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.soundhelix.misc.Pattern.PatternEntry
public static final class Pattern.PatternEntry
Represents a pattern entry.
| Constructor Summary | |
|---|---|
Pattern.PatternEntry(char wildcardCharacter,
short velocity,
int ticks,
boolean legato)
Constructor. |
|
Pattern.PatternEntry(int ticks)
Constructor. |
|
Pattern.PatternEntry(int pitch,
short velocity,
int ticks,
boolean legato)
Constructor. |
|
| Method Summary | |
|---|---|
int |
getPitch()
Returns the pitch. |
int |
getTicks()
Returns the number of ticks. |
short |
getVelocity()
Returns the velocity. |
char |
getWildcardCharacter()
Returns the wildcard character. |
boolean |
isLegato()
Returns the legato flag. |
boolean |
isNote()
Returns true if this is a note, false otherwise. |
boolean |
isPause()
Returns true if this is a pause, false otherwise. |
boolean |
isWildcard()
Returns true if this is a wildcard, false otherwise. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Pattern.PatternEntry(int ticks)
ticks - the number of ticks
public Pattern.PatternEntry(int pitch,
short velocity,
int ticks,
boolean legato)
pitch - the pitchvelocity - the velocityticks - the number of tickslegato - the legato flag
public Pattern.PatternEntry(char wildcardCharacter,
short velocity,
int ticks,
boolean legato)
wildcardCharacter - the wildcard charactervelocity - the velocityticks - the number of tickslegato - the legato flag| Method Detail |
|---|
public char getWildcardCharacter()
public int getPitch()
public short getVelocity()
public int getTicks()
public boolean isNote()
public boolean isWildcard()
public boolean isPause()
public boolean isLegato()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||