Package org.jdesktop.swingx.tips
Class DefaultTip
java.lang.Object
org.jdesktop.swingx.tips.DefaultTip
- All Implemented Interfaces:
TipOfTheDayModel.Tip
Default
TipOfTheDayModel.Tip implementation.- Author:
- Frederic Lavigne
-
Constructor Summary
ConstructorsConstructorDescriptionctorDefaultTip(String name, Object tip) TODO maven-javadoc-plugin 3.3.2 needs a doc here -
Method Summary
Modifier and TypeMethodDescriptiongetTip()The tip object to show.voidTODO maven-javadoc-plugin 3.3.2 needs a doc herevoidsetTipName(String name) TODO maven-javadoc-plugin 3.3.2 needs a doc heretoString()
-
Constructor Details
-
DefaultTip
public DefaultTip()ctor -
DefaultTip
TODO maven-javadoc-plugin 3.3.2 needs a doc here- Parameters:
name- a Stringtip- Object
-
-
Method Details
-
getTip
Description copied from interface:TipOfTheDayModel.TipThe tip object to show. SeeJXTipOfTheDayfor supported object types.- Specified by:
getTipin interfaceTipOfTheDayModel.Tip- Returns:
- the tip to display
-
setTip
TODO maven-javadoc-plugin 3.3.2 needs a doc here- Parameters:
tip- Object
-
getTipName
- Specified by:
getTipNamein interfaceTipOfTheDayModel.Tip- Returns:
- very short (optional) text describing the tip
-
setTipName
TODO maven-javadoc-plugin 3.3.2 needs a doc here- Parameters:
name- a String
-
toString
-