swingwt.applet
Class Applet

java.lang.Object
  extended byswingwt.awt.Component
      extended byswingwt.awt.Container
          extended byswingwtx.swing.JComponent
              extended byswingwtx.swing.JPanel
                  extended byswingwt.awt.Panel
                      extended byswingwt.applet.Applet
All Implemented Interfaces:
ImageObserver, MenuContainer
Direct Known Subclasses:
JApplet

public class Applet
extends Panel

Dummy applet container. Doesn't actually do anything but provide fake applet services to subclasses. This is for Java applications that can project both a regular AWT interface and an Applet (and obviously only the regular AWT one will work). If enough people hassle me I'll implement AppletInfo and AppletContext - but you really shouldn't need them :-)


Nested Class Summary
 
Nested classes inherited from class swingwtx.swing.JComponent
JComponent.InternalFrameSelectionListener
 
Field Summary
 
Fields inherited from class swingwtx.swing.JPanel
opaque, ppeer
 
Fields inherited from class swingwtx.swing.JComponent
accessibleContext, actionMap, ancestorInputMap, border, clientProperties, descendantHasPeer, focusInputMap, internalFrameAdapter, internalFrameParent, propertyChangeListeners, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW, windowInputMap
 
Fields inherited from class swingwt.awt.Container
composite, comps, containerListeners, layout, queuedValidateRequest
 
Fields inherited from class swingwt.awt.Component
actionCommand, actionListeners, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListeners, componentName, consumeAvailableHeight, consumeAvailableWidth, focusable, focusListeners, graphicsConfig, inputMethodListeners, isUserSetFont, keyListeners, layoutModifier, LEFT_ALIGNMENT, LOCK, mouseListeners, mouseMotionListeners, mouseWheelListeners, parent, pBackground, pCursor, pDoubleBuffered, peer, pEnabled, pFont, pForeground, pLayoutData, pLocation, pMaxSize, pMinSize, pPrefSize, pSize, pToolTipText, pVisible, RIGHT_ALIGNMENT, swingWTDefaultActionEventAdapter, swingWTEventAdapter, TOP_ALIGNMENT
 
Fields inherited from interface swingwt.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
Applet()
           
 
Method Summary
 void destroy()
           
 java.lang.String getAppletInfo()
           
 AudioClip getAudioClip(java.net.URL url)
           
 AudioClip getAudioClip(java.net.URL url, java.lang.String name)
           
 java.net.URL getCodeBase()
           
 java.net.URL getDocumentBase()
           
 Image getImage(java.net.URL image)
           
 Image getImage(java.net.URL image, java.lang.String name)
           
 java.util.Locale getLocale()
           
 java.lang.String getParameter(java.lang.String name)
           
 java.lang.String[] getParameterInfo()
           
 void init()
           
 boolean isActive()
           
static AudioClip newAudioClip(java.net.URL url)
           
 void play(java.net.URL url)
           
 void play(java.net.URL url, java.lang.String name)
           
 void resize(Dimension d)
           
 void resize(int width, int height)
           
 void showStatus(java.lang.String message)
           
 void start()
           
 void stop()
           
 
Methods inherited from class swingwtx.swing.JPanel
calculatePreferredSize, getHeight, getSize, getWidth, setBorder, setSwingWTParent
 
Methods inherited from class swingwtx.swing.JComponent
add, add, add, add, add, addPropertyChangeListener, addPropertyChangeListener, checkInternalFrameChild, dispose, getAccessibleContext, getActionMap, getAutoscrolls, getBorder, getClientProperty, getInputMap, getInsets, getToolTipLocation, getToolTipText, getTopLevelAncestor, getVisibleRect, isDoubleBuffered, isOpaque, isOptimizedDrawingEnabled, isValidateRoot, paint, paintBackground, paintChildren, paintComponent, paintImmediately, paintImmediately, putClientProperty, remove, remove, removePropertyChangeListener, removePropertyChangeListener, repaint, revalidate, scrollRectToVisible, setActionMap, setAutoscrolls, setDoubleBuffered, setInputMap, setMargin, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled
 
Methods inherited from class swingwt.awt.Container
addComponentToLayout, addContainerListener, debug_showContainmentTree, doAdd, doLayout, getComponent, getComponentCount, getComponentOrientation, getComponents, getComposite, getLayout, getMaximumSize, getMinimumSize, getParent, getPreferredSize, invalidate, minimumSize, preferredSize, processContainerEvent, processEvent, queuedValidate, removeAll, removeComponentFromCache, removeContainerListener, setLayout, setLayoutImpl, validate
 
Methods inherited from class swingwt.awt.Component
add, addActionListener, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, componentOnlyDispose, computePreferredSize, contains, contains, createImage, createListenerArrayFromVector, createVolatileImage, dispatchEvent, getActionCommand, getAlignmentX, getAlignmentY, getBackground, getBounds, getCursor, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getListeners, getLocation, getLocationOnScreen, getName, getPeer, getPeerSize, getSize, getSWTPeer, getToolkit, getToolTipText, getTreeLock, getX, getY, grabFocus, hasFocus, hasSetFont, hide, imageUpdate, inside, isEnabled, isFocusable, isMinimumSizeSet, isShowing, isVisible, processActionEvent, processComponentEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, processTraverseEvent, registerActionEvents, registerComponentEvents, registerEvents, registerExtendedModifyEvents, registerFocusEvents, registerKeyEvents, registerModifyEvents, registerMouseEvents, registerPaintEvents, registerTraversalEvents, remove, removeActionListener, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, repaint, repaint, repaint, requestFocus, setActionCommand, setAlignmentX, setAlignmentY, setBackground, setBounds, setBounds, setCachedProperties, setComponentOrientation, setComponentRemoved, setCursor, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setFont, setForeground, setHeight, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setSize, setSize, setToolTipText, setVisible, setWidth, show, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Applet

public Applet()
Method Detail

destroy

public void destroy()

getAppletInfo

public java.lang.String getAppletInfo()

getAudioClip

public AudioClip getAudioClip(java.net.URL url)

getAudioClip

public AudioClip getAudioClip(java.net.URL url,
                              java.lang.String name)

getCodeBase

public java.net.URL getCodeBase()

getDocumentBase

public java.net.URL getDocumentBase()

getImage

public Image getImage(java.net.URL image)

getImage

public Image getImage(java.net.URL image,
                      java.lang.String name)

getLocale

public java.util.Locale getLocale()

getParameter

public java.lang.String getParameter(java.lang.String name)

getParameterInfo

public java.lang.String[] getParameterInfo()

init

public void init()

isActive

public boolean isActive()

newAudioClip

public static AudioClip newAudioClip(java.net.URL url)

play

public void play(java.net.URL url)

play

public void play(java.net.URL url,
                 java.lang.String name)

resize

public void resize(Dimension d)

resize

public void resize(int width,
                   int height)

showStatus

public void showStatus(java.lang.String message)

start

public void start()

stop

public void stop()