|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.herac.tuxguitar.song.models.TGDuration
public abstract class TGDuration
Field Summary | |
---|---|
static int |
EIGHTH
Corchea. |
static int |
HALF
Blanca. |
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 | |
---|---|
TGDuration(TGFactory factory)
|
Method Summary | |
---|---|
TGDuration |
clone(TGFactory factory)
|
void |
copy(TGDuration duration)
|
static TGDuration |
fromTime(TGFactory factory,
long time)
|
static TGDuration |
fromTime(TGFactory factory,
long time,
TGDuration minDuration)
|
static TGDuration |
fromTime(TGFactory factory,
long time,
TGDuration minimum,
int diff)
|
int |
getIndex()
|
long |
getTime()
|
TGTupleto |
getTupleto()
|
int |
getValue()
|
boolean |
isDotted()
|
boolean |
isDoubleDotted()
|
boolean |
isEqual(TGDuration d)
|
void |
setDotted(boolean dotted)
|
void |
setDoubleDotted(boolean doubleDotted)
|
void |
setValue(int value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final long QUARTER_TIME
public static final int WHOLE
public static final int HALF
public static final int QUARTER
public static final int EIGHTH
public static final int SIXTEENTH
public static final int THIRTY_SECOND
public static final int SIXTY_FOURTH
Constructor Detail |
---|
public TGDuration(TGFactory factory)
Method Detail |
---|
public int getValue()
public void setValue(int value)
public boolean isDotted()
public void setDotted(boolean dotted)
public boolean isDoubleDotted()
public void setDoubleDotted(boolean doubleDotted)
public TGTupleto getTupleto()
public long getTime()
public static TGDuration fromTime(TGFactory factory, long time)
public static TGDuration fromTime(TGFactory factory, long time, TGDuration minDuration)
public static TGDuration fromTime(TGFactory factory, long time, TGDuration minimum, int diff)
public int getIndex()
public boolean isEqual(TGDuration d)
public TGDuration clone(TGFactory factory)
public void copy(TGDuration duration)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |