com.objectplanet.chart.ext
Class TimeLineChartApplet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Panel
                    |
                    +--java.applet.Applet
                          |
                          +--com.objectplanet.chart.ChartApplet
                                |
                                +--com.objectplanet.chart.LineChartApplet
                                      |
                                      +--com.objectplanet.chart.ext.TimeLineChartApplet
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.awt.image.ImageObserver, java.awt.event.ItemListener, java.awt.MenuContainer, java.awt.event.MouseMotionListener, java.lang.Runnable, java.io.Serializable

public class TimeLineChartApplet
extends LineChartApplet

The TimeLineChartApplet adds time line chart specific properties to the LineChartApplet.

See the LineChartApplet for other parameters.

Parameters:

Here is an example

<applet code=com.objectplanet.chart.ext.TimeLineChartApplet
  archive=chart.ext.jar width=500 height=350>
<param name=chartTitle value="Time Line Chart">
<param name=timePlots_0 value="01/01/2002|1234, 02/01/2002|1414, 03/01/2002|1655, 04/01/2002|1361, 05/01/2002|1663, 06/01/2002|1598, 07/01/2002|1099, 08/01/2002|1136, 09/01/2002|1135, 10/01/2002|2510, 11/01/2002|4833, 12/01/2002|5905">
<param name=timeFormatInput value="MM/dd/yyyy">
<param name=timeFormatInputLocale value="en,us">
<param name=timeFormatOut value="MMM yyyy">
<param name=lowerTime value="01/01/2002">
<param name=upperTime value="12/01/2002">
<param name=timeScale value=86400>
<param name=autoTimeLabelsOn value=true>
<param name=sampleLabelAngle value=270>
<param name=valueLabelsOn value="true">
<param name=valueLinesOn value=true>
<param name=sampleHighlightOn value=true>
<param name=sampleHighlightStyle value="circle_opaque">
<param name=defaultGridLinesOn value=true>
<param name=rangeAdjusterOn value=true>
<param name=sampleScrollerOn value=true>
<param name=rangeStep value=1000>
</applet>
</pre>

Author:
Bjorn J. Kvande.
See Also:
Serialized Form

Nested Class Summary
 
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
 
Fields inherited from class com.objectplanet.chart.LineChartApplet
chart
 
Fields inherited from class com.objectplanet.chart.ChartApplet
labelDelimiter, sampleCountRead, seriesCountRead, theChart
 
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
TimeLineChartApplet()
          Creates the TimeLineChartApplet.
 
Method Summary
 void loadParameters(java.util.Hashtable parameters)
          Loads the applet parameters.
 void setParameter(java.lang.String name, java.lang.String value)
          Sets a parameter in the chart.
 void setParameters(java.util.Hashtable parameters)
          Sets the applet parameters.
 
Methods inherited from class com.objectplanet.chart.LineChartApplet
createChart
 
Methods inherited from class com.objectplanet.chart.ChartApplet
callJavaScript, createColor, createFont, destroy, getAppletContext, getColorValues, getDocumentBase, getDoubleValues, getParameter, getParameterPrefix, getStringValues, init, itemStateChanged, loadURLParameters, mouseDragged, mouseMoved, print, reset, run, setParameterPrefix, setParentApplet, start, stop, toString
 
Methods inherited from class java.applet.Applet
getAccessibleContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getImage, getImage, getLocale, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, 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, processKeyEvent, 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, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeLineChartApplet

public TimeLineChartApplet()
Creates the TimeLineChartApplet.

Method Detail

loadParameters

public void loadParameters(java.util.Hashtable parameters)
Loads the applet parameters.

Overrides:
loadParameters in class LineChartApplet
Parameters:
parameters - The parameters are loaded into this hashtable.

setParameter

public void setParameter(java.lang.String name,
                         java.lang.String value)
Sets a parameter in the chart.

Overrides:
setParameter in class LineChartApplet
Parameters:
name - The name of the parameter.
value - The value of the parameter as a string.

setParameters

public void setParameters(java.util.Hashtable parameters)
Sets the applet parameters. All the parameter keys are assumes to be lower case letter.

Overrides:
setParameters in class ChartApplet
Parameters:
parameters - The parameters to be set.