com.datamessenger.timechart
Class TimeLine


java.lang.Object

  |

  +--java.awt.Component

        |

        +--java.awt.Canvas

              |

              +--com.datamessenger.awt.BarCanvas

                    |

                    +--com.datamessenger.timechart.TimeLine

Direct Known Subclasses:
TimeLineManager

public class TimeLine
extends BarCanvas
implements java.util.Observer, java.awt.event.MouseMotionListener

Copyright (c) 1999-2000 Produx House, Corp. All rights reserved.

Version:
1.0, September 30 2000
Author:
Jon L. Boynton
See Also:
Serialized Form

Fields inherited from class com.datamessenger.awt.BarCanvas
bar, color, shade, transparency
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
TimeLine(BarContext bar, ColorScheme color)
          A new blank TimeLine.
 
Method Summary
 java.awt.Image getGraphicsBuffer()
           
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void paintBorder(java.awt.Graphics g)
           
 void update(java.awt.Graphics g)
          Paints button with a Graphics object.
 void update(java.util.Observable o, java.lang.Object obj)
          Sets a rectangle that is extended to the Components boundries that run parallel to orientation of it's context.
 
Methods inherited from class com.datamessenger.awt.BarCanvas
getContext, paint, setBounds, setShadeArea, setShadeTransparency
 
Methods inherited from class java.awt.Canvas
addNotify
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeLine


public TimeLine(BarContext bar,

                ColorScheme color)
A new blank TimeLine.
Method Detail

update


public void update(java.awt.Graphics g)
Paints button with a Graphics object.
Overrides:
update in class BarCanvas
Parameters:
g - the graphics context of this component.

paintBorder


public void paintBorder(java.awt.Graphics g)

getGraphicsBuffer


public java.awt.Image getGraphicsBuffer()

update


public void update(java.util.Observable o,

                   java.lang.Object obj)
Sets a rectangle that is extended to the Components boundries that run parallel to orientation of it's context. This method is used to provide a Rectangle that is guaranteed to properly fill areas that are shared between components.
Specified by:
update in interface java.util.Observer
Parameters:
shade - A shared Rectangle context for shading

mouseDragged


public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved


public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2000 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.