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
Pluggable UI for
JXTipOfTheDay
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract 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
-
Constructor Details
-
TipOfTheDayUI
public TipOfTheDayUI()
-
-
Method Details
-
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
-