com.jgoodies.uifextras.convenience
Interface TipOfTheDayModel

All Known Implementing Classes:
DefaultTipOfTheDayModel

public interface TipOfTheDayModel

Describes the data and operations required for the TipOfTheDayDialog.

Since:
1.8
Version:
$Revision: 1.5 $
Author:
Karsten Lentzsch
See Also:
TipOfTheDayDialog

Field Summary
static String SHOWING_TIPS_PROPERTY
          The name of the bound property "showingTips".
 
Method Summary
 boolean isShowingTips()
          Returns if we shall show tips at application startup.
 URL nextTip()
          Returns the URL to the next next tip.
 URL previousTip()
          Returns the URL of the previous tip.
 void setShowingTips(boolean b)
          Sets if we shall show tips at application startup.
 

Field Detail

SHOWING_TIPS_PROPERTY

static final String SHOWING_TIPS_PROPERTY
The name of the bound property "showingTips".

See Also:
Constant Field Values
Method Detail

nextTip

URL nextTip()
Returns the URL to the next next tip.

Returns:
the URL of the next tip

previousTip

URL previousTip()
Returns the URL of the previous tip.

Returns:
the URL of the previous tip

isShowingTips

boolean isShowingTips()
Returns if we shall show tips at application startup.

Returns:
true to show tips, false to not show tips

setShowingTips

void setShowingTips(boolean b)
Sets if we shall show tips at application startup.

Parameters:
b - true to enable the tips, false to disable


Copyright © 2000-2008 JGoodies Karsten Lentzsch. All Rights Reserved.