public class Pattern extends Object
| Constructor and Description |
|---|
Pattern(int rows)
Constructor for Pattern
|
Pattern(int rows,
int channels) |
| Modifier and Type | Method and Description |
|---|---|
PatternElement |
getPatternElement(int row,
int channel) |
PatternRow[] |
getPatternRow() |
PatternRow |
getPatternRow(int row) |
int |
getRowCount() |
void |
resetRowsPlayed() |
void |
setPatternElement(int row,
int channel,
PatternElement patternElement) |
void |
setPatternRow(int row,
PatternRow patternRow) |
void |
setPatternRow(PatternRow[] patternRow) |
String |
toString() |
public Pattern(int rows)
public Pattern(int rows,
int channels)
public String toString()
toString in class ObjectObject.toString()public int getRowCount()
public void resetRowsPlayed()
public PatternRow[] getPatternRow()
public PatternRow getPatternRow(int row)
public PatternElement getPatternElement(int row, int channel)
public void setPatternRow(PatternRow[] patternRow)
patternRow - The patternRow to set.public void setPatternRow(int row,
PatternRow patternRow)
patternRow - The patternRow to set.public void setPatternElement(int row,
int channel,
PatternElement patternElement)
patternElement - The patternElement to set.Copyright © 2014. All rights reserved.