|
|||||||||
| Home >> All >> irate >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
irate.plugin
Interface PluginApplication

- public interface PluginApplication
This is the interface through which plugins talk to the application. Some things we could add: Event registration for plugins that want to
| Method Summary | |
irate.common.Track |
getPlayingTrack()
Get the track that is currently being played. |
irate.common.Track |
getSelectedTrack()
Get the track that is currently selected. |
PluginUIFactory |
getUIFactory()
Get a factory that creates suitable UI objects, depending on the style of user interface used in the application. |
boolean |
isPaused()
Return true if music play is paused. |
void |
setPaused(boolean paused)
Pause or unpause music play. |
void |
setRating(irate.common.Track track,
int rating)
Set rating for the specified track. |
void |
skip()
Skip to the next song. |
| Method Detail |
getUIFactory
public PluginUIFactory getUIFactory()
- Get a factory that creates suitable UI objects, depending on the style of
user interface used in the application.
isPaused
public boolean isPaused()
- Return true if music play is paused.
setPaused
public void setPaused(boolean paused)
- Pause or unpause music play.
skip
public void skip()
- Skip to the next song.
getPlayingTrack
public irate.common.Track getPlayingTrack()
- Get the track that is currently being played.
getSelectedTrack
public irate.common.Track getSelectedTrack()
- Get the track that is currently selected. In some implementations
this may be the same as the track that is playing.
setRating
public void setRating(irate.common.Track track, int rating)
- Set rating for the specified track.
|
|||||||||
| Home >> All >> irate >> [ plugin overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC