JIDE 3.5.15

com.jidesoft.tipoftheday
Interface TipOfTheDaySource

All Known Implementing Classes:
ResourceBundleTipOfTheDaySource

public interface TipOfTheDaySource

This interface is for any type of TipOfTheDaySource. The source of Tip of the Day could be anything, but as long as it's have the method defined in this interface, we can get and display in Tip of the Day dialog.


Method Summary
 int getCurrentTipIndex()
          Gets the current tip index.
 String getNextTip()
          Gets next tip.
 String getPreviousTip()
          Gets previous tip.
 void setCurrentTipIndex(int currentTipIndex)
          Sets current tip index.
 

Method Detail

getCurrentTipIndex

int getCurrentTipIndex()
Gets the current tip index.

Returns:
current tip index.

setCurrentTipIndex

void setCurrentTipIndex(int currentTipIndex)
Sets current tip index.

Parameters:
currentTipIndex -

getNextTip

String getNextTip()
Gets next tip.

Returns:
the next tip

getPreviousTip

String getPreviousTip()
Gets previous tip.

Returns:
the previous tip

JIDE 3.5.15