org.jdesktop.swingx.plaf
Class TipOfTheDayUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.TipOfTheDayUI
Direct Known Subclasses:
BasicTipOfTheDayUI

public abstract class TipOfTheDayUI
extends PanelUI

Pluggable UI for JXTipOfTheDay.


Constructor Summary
TipOfTheDayUI()
           
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TipOfTheDayUI

public TipOfTheDayUI()
Method Detail

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