Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lilacsoftware.orca.applets
Class PlayerApplet  view PlayerApplet download PlayerApplet.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byjavax.swing.JApplet
                      extended bycom.lilacsoftware.orca.applets.PlayerApplet
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable

public class PlayerApplet
extends javax.swing.JApplet

Client applet for interfacing with an Orca Server.


Nested Class Summary
(package private)  class PlayerApplet.SliderListener
           
(package private)  class PlayerApplet.SymMouse
           
 
Nested classes inherited from class javax.swing.JApplet
javax.swing.JApplet.AccessibleJApplet
 
Nested classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  javax.swing.JLabel albumLabel
           
(package private)  javax.swing.JLabel albumMarker
           
(package private)  javax.swing.JLabel artistLabel
           
(package private)  javax.swing.JLabel artistMarker
           
(package private)  javax.swing.JLabel bitrateLabel
           
(package private)  javax.swing.JPanel bitratePanel
           
(package private)  javax.swing.JLabel durationLabel
           
(package private)  javax.swing.JLabel kbsMarker
           
(package private)  javax.swing.JLabel mediaTimeLabel
           
(package private)  MediaTimeSlider mediaTimeSlider
           
(package private)  javax.swing.JButton nextButton
           
(package private)  javax.swing.JButton pauseButton
           
(package private)  javax.swing.JButton playButton
           
(package private)  JTimeLabel timeLabel
           
(package private)  javax.swing.JPanel timePanel
           
(package private)  javax.swing.JLabel trackLabel
           
(package private)  javax.swing.JLabel trackMarker
           
(package private)  javax.swing.JLabel trackNumLabel
           
(package private)  javax.swing.JLabel trackNumMarker
           
(package private)  javax.swing.JSlider volumeSlider
           
 
Fields inherited from class javax.swing.JApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
PlayerApplet()
           
 
Method Summary
protected  java.net.URL getURL(java.lang.String filename)
           
 void init()
          This method is called when the applet is first loaded, before start().
(package private)  void playButton_mouseClicked_Interaction1(java.awt.event.MouseEvent event)
           
(package private)  void playButton_mouseClicked(java.awt.event.MouseEvent event)
           
 void start()
          This method is called when the applet should start running.
(package private)  void timePanel_mouseClicked(java.awt.event.MouseEvent event)
           
private  void trace(int level, java.lang.String msg1, java.lang.String msg2)
          Sends traces to Debug.
 
Methods inherited from class javax.swing.JApplet
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getJMenuBar, getLayeredPane, getPreferredSize, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, remove, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.applet.Applet
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mediaTimeSlider

MediaTimeSlider mediaTimeSlider

volumeSlider

javax.swing.JSlider volumeSlider

artistLabel

javax.swing.JLabel artistLabel

artistMarker

javax.swing.JLabel artistMarker

albumMarker

javax.swing.JLabel albumMarker

trackMarker

javax.swing.JLabel trackMarker

trackNumMarker

javax.swing.JLabel trackNumMarker

trackLabel

javax.swing.JLabel trackLabel

albumLabel

javax.swing.JLabel albumLabel

trackNumLabel

javax.swing.JLabel trackNumLabel

playButton

javax.swing.JButton playButton

pauseButton

javax.swing.JButton pauseButton

nextButton

javax.swing.JButton nextButton

mediaTimeLabel

javax.swing.JLabel mediaTimeLabel

durationLabel

javax.swing.JLabel durationLabel

timePanel

javax.swing.JPanel timePanel

timeLabel

JTimeLabel timeLabel

bitratePanel

javax.swing.JPanel bitratePanel

bitrateLabel

javax.swing.JLabel bitrateLabel

kbsMarker

javax.swing.JLabel kbsMarker
Constructor Detail

PlayerApplet

public PlayerApplet()
Method Detail

init

public void init()
Description copied from class: java.applet.Applet
This method is called when the applet is first loaded, before start(). The default implementation does nothing; override to do any one-time initialization.


start

public void start()
Description copied from class: java.applet.Applet
This method is called when the applet should start running. This is normally each time a web page containing it is loaded. The default implemention does nothing; override for your applet to be useful.


getURL

protected java.net.URL getURL(java.lang.String filename)

timePanel_mouseClicked

void timePanel_mouseClicked(java.awt.event.MouseEvent event)

playButton_mouseClicked

void playButton_mouseClicked(java.awt.event.MouseEvent event)

playButton_mouseClicked_Interaction1

void playButton_mouseClicked_Interaction1(java.awt.event.MouseEvent event)

trace

private void trace(int level,
                   java.lang.String msg1,
                   java.lang.String msg2)
Sends traces to Debug.