dguitar.adaptors.song.event
Class SongEventImpl
java.lang.Object
dguitar.adaptors.song.event.SongEventImpl
- All Implemented Interfaces:
- SongEvent
- public class SongEventImpl
- extends java.lang.Object
- implements SongEvent
- Author:
- crnash
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
virtualTrack
SongVirtualTrack virtualTrack
time
int time
message
SongMessage message
SongEventImpl
public SongEventImpl(int time,
SongMessage message)
getTime
public int getTime()
- Specified by:
getTime
in interface SongEvent
- Returns:
- Returns the time.
setTime
public void setTime(int time)
- Specified by:
setTime
in interface SongEvent
- Parameters:
time
- The time to set.
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface SongEvent
hashCode
public int hashCode()
- Specified by:
hashCode
in interface SongEvent
toString
public java.lang.String toString()
- Specified by:
toString
in interface SongEvent
getMessage
public SongMessage getMessage()
- Specified by:
getMessage
in interface SongEvent
setMessage
public void setMessage(SongMessage message)
- Specified by:
setMessage
in interface SongEvent
getVirtualTrack
public SongVirtualTrack getVirtualTrack()
- Specified by:
getVirtualTrack
in interface SongEvent
- Returns:
setVirtualTrack
public void setVirtualTrack(SongVirtualTrack svt)
- Specified by:
setVirtualTrack
in interface SongEvent