Package org.jdesktop.swingx.plaf
Class TipOfTheDayUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.TipOfTheDayUI
-
- Direct Known Subclasses:
BasicTipOfTheDayUI
public abstract class TipOfTheDayUI extends PanelUI
Pluggable UI forJXTipOfTheDay
.- Author:
- Frederic Lavigne
-
-
Constructor Summary
Constructors Constructor Description TipOfTheDayUI()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract JDialog
createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)
Creates a new JDialog to display a JXTipOfTheDay panel.-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
-
-
-
-
Method Detail
-
createDialog
public abstract JDialog createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)
Creates a new JDialog to display a JXTipOfTheDay panel. Ifchoice
is not null then the window will offer a way for the end-user to not show the tip of the day dialog.- Parameters:
parentComponent
-choice
-- Returns:
- a new JDialog to display a JXTipOfTheDay panel
-
-