|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.controllers.model.Controller
net.sourceforge.atunes.kernel.controllers.model.PanelController<PlayerControlsPanel>
net.sourceforge.atunes.kernel.controllers.playerControls.PlayerControlsController
public class PlayerControlsController
The Class PlayerControlsController.
Constructor Summary | |
---|---|
PlayerControlsController(PlayerControlsPanel panel)
Instantiates a new player controls controller. |
Method Summary | |
---|---|
protected void |
addBindings()
Adds the bindings. |
protected void |
addStateBindings()
Adds the state bindings. |
protected void |
notifyReload()
Notify reload. |
void |
setMaxDuration(long maxDuration)
Sets the max duration. |
void |
setMute(boolean mute)
Sets the mute. |
void |
setPlaying(boolean playing)
Sets the playing. |
void |
setSlidable(boolean slidable)
Sets the slidable. |
void |
setTime(long time,
long totalTime)
Sets the time. |
protected void |
setVolume(int value)
Sets the volume. |
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.PanelController |
---|
getPanelControlled |
Methods inherited from class net.sourceforge.atunes.kernel.controllers.model.Controller |
---|
getLogger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlayerControlsController(PlayerControlsPanel panel)
panel
- the panelMethod Detail |
---|
protected void addBindings()
Controller
addBindings
in class Controller
protected void addStateBindings()
Controller
addStateBindings
in class Controller
protected void notifyReload()
Controller
notifyReload
in class Controller
public void setMaxDuration(long maxDuration)
maxDuration
- the new max durationpublic void setMute(boolean mute)
mute
- the new mutepublic void setPlaying(boolean playing)
playing
- the new playingpublic void setSlidable(boolean slidable)
slidable
- the new slidablepublic void setTime(long time, long totalTime)
time
- the timetotalTime
- the total timeprotected void setVolume(int value)
value
- the new volume
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |