com.sygem.swing.jtipoftheday
Class TipChangeListener

java.lang.Object
  extended bycom.sygem.swing.jtipoftheday.TipChangeListener

public abstract class TipChangeListener
extends java.lang.Object

The TipChangeListener lets you register for clicks on the "Next" or "Previous" buttons. You can then store the index of the current tip in whatever way suits your application, and retrieve it next time your app starts.

Title: JTipOfTheDay
Description: A Swing component for displaying a Tip on startup
Copyright: Copyright (c) 2004
Company: SyGem Software

Version:
1.0

Constructor Summary
TipChangeListener()
           
 
Method Summary
abstract  void tipIndexChanged(int newIndex)
          This method will be called when the user clicks on either the "Next" or "Previous" buttons.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TipChangeListener

public TipChangeListener()
Method Detail

tipIndexChanged

public abstract void tipIndexChanged(int newIndex)
This method will be called when the user clicks on either the "Next" or "Previous" buttons.

Parameters:
newIndex - The index of the current tip.


Copyright © 2004 SyGem Software. All Rights Reserved.