DE.purple_sunshine.bigbro
Class ParameterApplet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--DE.purple_sunshine.bigbro.ParameterApplet
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Direct Known Subclasses:
CountdownApplet, SpyApplet

public class ParameterApplet
extends java.applet.Applet

An Applet that reads a few standard parameters and provides method to conveniently access some others.

Since:
JDK1.1
Version:
1.0
Author:
Holger Wagner
See Also:
Serialized Form

Field Summary
static boolean runsInMac
           
static boolean runsInMacNetscape
           
static int VERBOSITY
           
 
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
ParameterApplet()
           
 
Method Summary
 java.lang.String getAppletInfo()
          Shows information about this applet.
 java.lang.String[][] getParameterInfo()
          Shows which parameters are allowed.
 void init()
          Initializes the Applet.
 java.net.URL offButtonURL()
           
 java.net.URL onButtonURL()
           
 boolean runsInMac()
           
 boolean runsInMacNetscape()
           
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, update, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, disable, dispatchEvent, enable, enable, enableInputMethods, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, 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, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VERBOSITY

public static int VERBOSITY

runsInMacNetscape

public static boolean runsInMacNetscape

runsInMac

public static boolean runsInMac
Constructor Detail

ParameterApplet

public ParameterApplet()
Method Detail

onButtonURL

public java.net.URL onButtonURL()

offButtonURL

public java.net.URL offButtonURL()

runsInMacNetscape

public boolean runsInMacNetscape()

runsInMac

public boolean runsInMac()

init

public void init()
Initializes the Applet. The most important responsibility is getting the time right and checking whether or not this runs on a Mac.
Overrides:
init in class java.applet.Applet

getAppletInfo

public java.lang.String getAppletInfo()
Shows information about this applet.
Overrides:
getAppletInfo in class java.applet.Applet
Returns:
name
(c) 2000 Holger Wagner, Purple Sunshine Productions
http://www.purple-sunshine.de/
mailto:holger [at] purple-sunshine [dot] de
See Also:
Component.getName()

getParameterInfo

public java.lang.String[][] getParameterInfo()
Shows which parameters are allowed. These parameters are always available, for more parameters override this and handleParams().
Overrides:
getParameterInfo in class java.applet.Applet
Returns:
foreground -- RGB-Value -- foreground color, e.g. 0 0 0
background -- RGB-Value -- background color, e.g. 255 255 255
font -- String -- Font for the messages. Default = helvetica
size -- int -- Size of the messages. Default = 12
timefile -- String -- the file with the current time on the server (at startup) finaldate -- String -- the date and time which the applet should count down to fps -- integer -- the framerate of the animation in frames per second displaycount -- integer -- the number of concurrent date-sprites


© 2000, Holger Wagner, Purple Sunshine Productions.