|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.handlers.RadioHandler
public class RadioHandler
The Class RadioHandler.
Method Summary | |
---|---|
void |
addRadio()
Add the radio station from the add radio dialog. |
void |
addRadio(Radio radio)
Add a radio station to the list. |
void |
finish()
Write stations to xml files. |
static RadioHandler |
getInstance()
Gets the single instance of RadioHandler. |
java.util.List<Radio> |
getRadioPresets()
Gets the radio presets. |
java.util.List<Radio> |
getRadios()
Gets the radios. |
java.util.List<Radio> |
getRadios(java.lang.String label)
Gets the radios. |
java.lang.Runnable |
getReadRadiosRunnable()
Runnable process to read radio cache. |
void |
refresh()
Refreshes radio view. |
void |
removeRadio(Radio radio)
Remove a station from the list. |
void |
retrieveRadios()
Retrieve radios. |
java.util.List<Radio> |
retrieveRadiosForBrowser()
Retrieve radios for browser. |
void |
setLabel(java.util.List<Radio> radioList,
java.lang.String label)
Change label of radio. |
void |
setName(Radio radio,
java.lang.String name)
Change radio name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RadioHandler getInstance()
public void addRadio()
public void addRadio(Radio radio)
radio
- Stationpublic void finish()
public java.util.List<Radio> getRadios()
public java.util.List<Radio> getRadioPresets()
public java.util.List<Radio> getRadios(java.lang.String label)
label
- the label
public java.lang.Runnable getReadRadiosRunnable()
public void refresh()
public void removeRadio(Radio radio)
radio
- Radio to be removedpublic java.util.List<Radio> retrieveRadiosForBrowser() throws java.io.IOException
java.io.IOException
- Signals that an I/O exception has occurred.public void retrieveRadios()
public void setLabel(java.util.List<Radio> radioList, java.lang.String label)
radioList
- List of radios for which the label should be changedlabel
- New labelpublic void setName(Radio radio, java.lang.String name)
radio
- Radio stationname
- New name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |