org.jdesktop.swingx.tips
Interface TipOfTheDayModel

All Known Implementing Classes:
DefaultTipOfTheDayModel

public interface TipOfTheDayModel

A model for JXTipOfTheDay.


Nested Class Summary
static interface TipOfTheDayModel.Tip
          A tip.
 
Method Summary
 TipOfTheDayModel.Tip getTipAt(int index)
           
 int getTipCount()
           
 

Method Detail

getTipCount

int getTipCount()
Returns:
the number of tips in this model

getTipAt

TipOfTheDayModel.Tip getTipAt(int index)
Parameters:
index -
Returns:
the tip at index
Throws:
IndexOutOfBoundsException - if the index is out of range (index < 0 || index >= getTipCount()).