jnyqide
Class Piano_Roll.ScoreManipulator.Event
java.lang.Object
jnyqide.Piano_Roll.ScoreManipulator.Event
- Enclosing class:
- Piano_Roll.ScoreManipulator
public static class Piano_Roll.ScoreManipulator.Event
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Piano_Roll.ScoreManipulator.Event
public Piano_Roll.ScoreManipulator.Event(int startTime,
int givenPitch,
int duration,
int index)
Piano_Roll.ScoreManipulator.Event
public Piano_Roll.ScoreManipulator.Event(int startTime,
int givenPitch)
checkWithinDuration
public boolean checkWithinDuration(int timeX,
int pitchY)
checkDragNotStretch
public int checkDragNotStretch(int timeX,
int pitchY)
getTime
public int getTime()
getPitch
public int getPitch()
getDur
public int getDur()
getIndex
public int getIndex()
editEvent
public void editEvent(int startTime,
int givenPitch,
int duration)
setDur
public void setDur(int duration)
setStartTime
public void setStartTime(int startTime)
setPitch
public void setPitch(int newPitch)
setIndex
public void setIndex(int newIndex)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object