com.l2fprod.common.swing
Interface TipModel

All Known Implementing Classes:
DefaultTipModel

public interface TipModel

A model for JTipOfTheDay.


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

Method Detail

getTipCount

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

getTipAt

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