mediaplayer
Class MediaPlayerView

java.lang.Object
  extended by org.jdesktop.application.AbstractBean
      extended by org.jdesktop.application.View
          extended by org.jdesktop.application.FrameView
              extended by mediaplayer.MediaPlayerView

public class MediaPlayerView
extends org.jdesktop.application.FrameView

The application's main frame.


Field Summary
 Main main
          A instance of main to get access to its methods.
 javax.swing.JComboBox nrOfItemsComboBox
           
 javax.swing.JList playlistJList
           
 javax.swing.JLabel sessionName
           
 javax.swing.JCheckBox shuffleCheckBox
           
 
Constructor Summary
MediaPlayerView(org.jdesktop.application.SingleFrameApplication app)
          Note that two different ways of viewing frames is used.
 
Method Summary
 void addMidiMessage(java.lang.String msg)
          adds midi message to the midi message frame
 void showAboutBox()
           
 void showMidiMessageWindow()
          brings up the midi message window
 void showStatusMessageWindow()
          brings up the status message window
 
Methods inherited from class org.jdesktop.application.FrameView
getFrame, getRootPane, setFrame
 
Methods inherited from class org.jdesktop.application.View
getApplication, getComponent, getContext, getMenuBar, getResourceMap, getStatusBar, getToolBar, getToolBars, setComponent, setMenuBar, setStatusBar, setToolBar, setToolBars
 
Methods inherited from class org.jdesktop.application.AbstractBean
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

main

public Main main
A instance of main to get access to its methods. Most actions are passed to main


nrOfItemsComboBox

public javax.swing.JComboBox nrOfItemsComboBox

playlistJList

public javax.swing.JList playlistJList

sessionName

public javax.swing.JLabel sessionName

shuffleCheckBox

public javax.swing.JCheckBox shuffleCheckBox
Constructor Detail

MediaPlayerView

public MediaPlayerView(org.jdesktop.application.SingleFrameApplication app)
Note that two different ways of viewing frames is used. This frame uses netbeans, with its implications Frames connected to salt, like the design dialog, session dialog and the connected dialogs for saving and more have another way of doing it. They show a dialog with an infinite while loop til det loop is told to stop

Parameters:
app -
Method Detail

showMidiMessageWindow

public void showMidiMessageWindow()
brings up the midi message window


showStatusMessageWindow

public void showStatusMessageWindow()
brings up the status message window


addMidiMessage

public void addMidiMessage(java.lang.String msg)
adds midi message to the midi message frame

Parameters:
msg -

showAboutBox

@Action
public void showAboutBox()