|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
com.moneydance.awt.ticker.Ticker
Description: This is a component that scrolls a list of subcomponents across the screen. Each subcomponent must inherit from the TickerItem class. The components can scroll horizontally or vertically, depending on the dimensions of the component. This will soon include controls so that the user can manipulate the scrolling process in different ways. A TickerItem callback will also be added so that an event is triggered whenever a component is clicked on. Author: Sean D. Reilly Changes: $Author: sreilly $ $Date: 2001/01/31 19:31:13 $ $Revision: 1.1 $ ------------------------------------------------------------------------ $Log: Ticker.java,v $ Revision 1.1 2001/01/31 19:31:13 sreilly Moved *everything* to com.moneydance package, and rearranged a couple of the packages in the process. Revision 1.7 2000/01/17 07:31:13 sreilly rearranged account selection structure and simplified control of GUI by centralizing more things to the MoneydanceGUI object. Changed account-bar to use iconic buttons and moved account functions to a menu. Added not-too-useful-but-cool stock/currency ticker to account header. - need preference to turn it off! Added a bit more structure to transaction downloading via OFX. Also streamlined the user interface for online banking. The user only need to click one menu and then enter a PIN to download transactions. This makes it easier and more intuitive than with quicken! Revision 1.6 1999/05/06 22:22:46 sreilly added silly little javalobby news ticker, and made generic ticker 'slideable' Revision 1.5 1999/04/08 15:50:02 sreilly made ticker a little leaner Revision 1.4 1999/04/01 17:51:44 sreilly working, pretty well Revision 1.3 1999/02/12 21:22:45 sreilly added copyright and removed references to artistic license Revision 1.2 1999/01/19 01:55:13 sreilly too many changes to enumerate! fixed StreamTable encoding ambiguity, sortof fixed ExchangeRateEditor, and many other things. Revision 1.1 1998/12/08 22:43:31 sreilly added ticker and quote stuff
Nested Class Summary |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
protected int |
delay
|
protected int |
speed
|
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 | |
Ticker()
|
Method Summary | |
void |
addTickerItem(TickerItem item)
|
void |
paint(java.awt.Graphics g)
|
protected void |
renderTicker()
|
void |
replaceTickerItems(TickerItem[] newItems)
|
void |
run()
|
void |
setBounds(int nx,
int ny,
int nw,
int nh)
|
void |
update(java.awt.Graphics g)
|
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, 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, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int speed
protected int delay
Constructor Detail |
public Ticker()
Method Detail |
public void run()
run
in interface java.lang.Runnable
public void setBounds(int nx, int ny, int nw, int nh)
public void replaceTickerItems(TickerItem[] newItems)
public void addTickerItem(TickerItem item)
public void update(java.awt.Graphics g)
public void paint(java.awt.Graphics g)
protected void renderTicker()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |