Package org.jdesktop.swingx.tips
Class DefaultTip
java.lang.Object
org.jdesktop.swingx.tips.DefaultTip
- All Implemented Interfaces:
TipOfTheDayModel.Tip
Default
TipOfTheDayModel.Tip
implementation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTip()
The tip object to show.void
void
setTipName
(String name) toString()
-
Field Details
-
name
-
tip
-
-
Constructor Details
-
DefaultTip
public DefaultTip() -
DefaultTip
-
-
Method Details
-
getTip
Description copied from interface:TipOfTheDayModel.Tip
The tip object to show. SeeJXTipOfTheDay
for supported object types.- Specified by:
getTip
in interfaceTipOfTheDayModel.Tip
- Returns:
- the tip to display
-
setTip
-
getTipName
- Specified by:
getTipName
in interfaceTipOfTheDayModel.Tip
- Returns:
- very short (optional) text describing the tip
-
setTipName
-
toString
-