Package org.jdesktop.swingx.tips
Interface TipOfTheDayModel
-
- All Known Implementing Classes:
DefaultTipOfTheDayModel
public interface TipOfTheDayModel
A model forJXTipOfTheDay
.- Author:
- Frederic Lavigne
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TipOfTheDayModel.Tip
A tip.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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:
java.lang.IndexOutOfBoundsException
- if the index is out of range (index < 0 || index >= getTipCount()).
-
-