com.bff.musicjukebox.lib
Class JukeboxProperties
java.lang.Object
com.bff.musicjukebox.lib.JukeboxProperties
public class JukeboxProperties
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLIENT_PLAYER_LEFT
public static final int CLIENT_PLAYER_LEFT
- See Also:
- Constant Field Values
CLIENT_PLAYER_TOP
public static final int CLIENT_PLAYER_TOP
- See Also:
- Constant Field Values
JukeboxProperties
public JukeboxProperties()
- Creates a new instance of JukeboxProperties
isMinTray
public static boolean isMinTray()
- Returns:
- the minTray
setMinTray
public static void setMinTray(boolean aMinTray)
- Parameters:
aMinTray - the minTray to set
exists
public boolean exists()
saveSettings
public boolean saveSettings()
saveSettings
public boolean saveSettings(int clientType,
java.lang.String mpdServer,
java.lang.String password,
int mpdPort,
boolean showGuitarPanel,
boolean showTableImage,
boolean minToTray)
getMpdServer
public java.lang.String getMpdServer()
setMpdServer
public void setMpdServer(java.lang.String mpdServer)
getMpdPort
public int getMpdPort()
setMpdPort
public void setMpdPort(int mpdPort)
getPlaylist
public static JukeboxPlaylist getPlaylist()
throws PlaylistException
- Throws:
PlaylistException
getPlayer
public static JukeboxMusicPlayer getPlayer()
throws PlayerException
- Throws:
PlayerException
getMPD
public static org.bff.javampd.MPD getMPD()
throws org.bff.javampd.exception.MPDConnectionException,
java.net.UnknownHostException
- Throws:
org.bff.javampd.exception.MPDConnectionException
java.net.UnknownHostException
getMPDMonitor
public static org.bff.javampd.monitor.MPDStandAloneMonitor getMPDMonitor()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSongDAO
public static SongDAO getSongDAO()
throws java.lang.Exception
- Throws:
java.lang.Exception
showGuitarPanel
public static boolean showGuitarPanel()
kill
public static final void kill()
resetMPD
public static void resetMPD()
getVersion
public static java.lang.String getVersion()
getClientType
public int getClientType()
setClientType
public void setClientType(int clientType)
isShowGuitarPanel
public boolean isShowGuitarPanel()
setShowGuitarPanel
public void setShowGuitarPanel(boolean showGuitarPanel)
getMPDPassword
public java.lang.String getMPDPassword()
setMPDPassword
public void setMPDPassword(java.lang.String password)
isShowTableImage
public static boolean isShowTableImage()
setShowTableImage
public static void setShowTableImage(boolean aShowTableImage)