Class DefaultTipOfTheDayModel
java.lang.Object
org.jdesktop.swingx.tips.DefaultTipOfTheDayModel
- All Implemented Interfaces:
TipOfTheDayModel
Default
TipOfTheDayModel implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface TipOfTheDayModel
TipOfTheDayModel.Tip -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(TipOfTheDayModel.Tip tip) getTipAt(int index) intgetTips()voidvoidsetTips(TipOfTheDayModel.Tip[] tips)
-
Field Details
-
tips
-
-
Constructor Details
-
DefaultTipOfTheDayModel
public DefaultTipOfTheDayModel() -
DefaultTipOfTheDayModel
-
DefaultTipOfTheDayModel
-
-
Method Details
-
getTipAt
- Specified by:
getTipAtin interfaceTipOfTheDayModel- Parameters:
index-- Returns:
- the tip at
index
-
getTipCount
public int getTipCount()- Specified by:
getTipCountin interfaceTipOfTheDayModel- Returns:
- the number of tips in this model
-
add
-
remove
-
getTips
-
setTips
-