mediaplayer
Class MediaPlayerView
java.lang.Object
org.jdesktop.application.AbstractBean
org.jdesktop.application.View
org.jdesktop.application.FrameView
mediaplayer.MediaPlayerView
public class MediaPlayerView
- extends org.jdesktop.application.FrameView
The application's main frame.
Constructor Summary |
MediaPlayerView(org.jdesktop.application.SingleFrameApplication app)
Note that two different ways of viewing frames is used. |
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 |
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
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
-
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()