|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectabc.notation.BarLine
public class BarLine
This class defines bar lines.
| Field Summary | |
|---|---|
static byte |
REPEAT_CLOSE
The repeat close bar line type. |
static byte |
REPEAT_OPEN
The repeat open bar line type. |
static byte |
SIMPLE
The simple bar line type. |
| Constructor Summary | |
|---|---|
BarLine()
Default constructor. |
|
BarLine(byte type)
Creates a new bar line with the corresponding type. |
|
| Method Summary | |
|---|---|
static byte[] |
convertToBarLine(java.lang.String barLine)
Converts the specified string to a bar line type. |
byte |
getType()
Returns the type of this bar line. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte SIMPLE
public static final byte REPEAT_OPEN
public static final byte REPEAT_CLOSE
| Constructor Detail |
|---|
public BarLine()
public BarLine(byte type)
type - The type of bar line to be created : SIMPLE,
REPEAT_OPEN or REPEAT_CLOSE.| Method Detail |
|---|
public byte getType()
public static byte[] convertToBarLine(java.lang.String barLine)
barLine - The string to be converted as a bar line.
Possible values are |, ||, [|,
|], :|, |:, ::.
public java.lang.String toString()
toString in class java.lang.Object
|
abc4j API Specification | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||