org.herac.tuxguitar.song.models
public class Duration extends Object implements Serializable
| Field Summary | |
|---|---|
| static int | EIGHTH
Corchea. |
| static int | HALF
Blanca. |
| static Tupleto | NO_TUPLETO
Sin tupleto |
| static int | QUARTER
Negra. |
| static long | QUARTER_TIME
tiempo por defecto de la Negra. |
| static int | SIXTEENTH
Semi-Corchea. |
| static int | SIXTY_FOURTH
Semi-Fusa. |
| static int | THIRTY_SECOND
Fusa. |
| static int | WHOLE
Redonda |
| Constructor Summary | |
|---|---|
| Duration(int value, boolean dotted, boolean doubleDotted, Tupleto tupleto) | |
| Duration(int value) | |
| Method Summary | |
|---|---|
| Object | clone() |
| static Duration | fromTime(long time) |
| static Duration | fromTime(long time, Duration minDuration) |
| long | getTime() |
| Tupleto | getTupleto() |
| int | getValue() |
| boolean | isDotted() |
| boolean | isDoubleDotted() |
| boolean | isEqual(Duration d) |
| int | log2() |
| void | setDotted(boolean dotted) |
| void | setDoubleDotted(boolean doubleDotted) |
| void | setValue(int value) |