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 for JXTipOfTheDay
.
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TipOfTheDayUI
public TipOfTheDayUI()
createDialog
public abstract JDialog createDialog(Component parentComponent,
JXTipOfTheDay.ShowOnStartupChoice choice)
- Creates a new JDialog to display a JXTipOfTheDay panel. If
choice
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