Package tipOfTheDay
Class TipOfTheDayManager
java.lang.Object
tipOfTheDay.TipOfTheDayManager
- Author:
- Doug Gillespie
Tip of the day manager. Sets up tips and controls their selection
and display
Tips must currently be typed into the constructor, so that they are always there. The order of tips is randomly set but then remains fixed.
When you start looking at tips, the first one shown is selected at random.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addTipRandom
(PamTip pamTip) static TipOfTheDayManager
getNextTip
(int iTip) getNextTip
(PamTip pamTip) getPrevTip
(int iTip) getPrevTip
(PamTip pamTip) boolean
void
setShowAtStart
(boolean showAtStart) void
-
Method Details
-
addTipRandom
-
addTip
-
getInstance
-
getRandomTip
-
getNextTip
-
getNextTip
-
getPrevTip
-
getPrevTip
-
showTip
-
isShowAtStart
public boolean isShowAtStart() -
setShowAtStart
public void setShowAtStart(boolean showAtStart)
-