net.sourceforge.atunes.kernel.controllers.playerControls
Class PlayerControlsController

java.lang.Object
  extended by net.sourceforge.atunes.kernel.controllers.model.Controller
      extended by net.sourceforge.atunes.kernel.controllers.model.PanelController<PlayerControlsPanel>
          extended by net.sourceforge.atunes.kernel.controllers.playerControls.PlayerControlsController

public class PlayerControlsController
extends PanelController<PlayerControlsPanel>

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 setKaraoke(boolean karaoke)
          Sets the karaoke.
 void setMaxDuration(long maxDuration)
          Sets the max duration.
 void setMute(boolean mute)
          Sets the mute.
 void setPlaying(boolean playing)
          Sets the playing.
 void setRepeat(boolean repeat)
          Sets the repeat.
 void setShuffle(boolean shuffle)
          Sets the shuffle.
 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

PlayerControlsController

public PlayerControlsController(PlayerControlsPanel panel)
Instantiates a new player controls controller.

Parameters:
panel - the panel
Method Detail

addBindings

protected void addBindings()
Description copied from class: Controller
Adds the bindings.

Specified by:
addBindings in class Controller

addStateBindings

protected void addStateBindings()
Description copied from class: Controller
Adds the state bindings.

Specified by:
addStateBindings in class Controller

notifyReload

protected void notifyReload()
Description copied from class: Controller
Notify reload.

Specified by:
notifyReload in class Controller

setKaraoke

public void setKaraoke(boolean karaoke)
Sets the karaoke.

Parameters:
karaoke - the new karaoke

setMaxDuration

public void setMaxDuration(long maxDuration)
Sets the max duration.

Parameters:
maxDuration - the new max duration

setMute

public void setMute(boolean mute)
Sets the mute.

Parameters:
mute - the new mute

setPlaying

public void setPlaying(boolean playing)
Sets the playing.

Parameters:
playing - the new playing

setRepeat

public void setRepeat(boolean repeat)
Sets the repeat.

Parameters:
repeat - the new repeat

setShuffle

public void setShuffle(boolean shuffle)
Sets the shuffle.

Parameters:
shuffle - the new shuffle

setSlidable

public void setSlidable(boolean slidable)
Sets the slidable.

Parameters:
slidable - the new slidable

setTime

public void setTime(long time,
                    long totalTime)
Sets the time.

Parameters:
time - the time
totalTime - the total time

setVolume

protected void setVolume(int value)
Sets the volume.

Parameters:
value - the new volume


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.