org.jdesktop.swingx.plaf.windows
Class WindowsTipOfTheDayUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.jdesktop.swingx.plaf.TipOfTheDayUI
              extended by org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
                  extended by org.jdesktop.swingx.plaf.windows.WindowsTipOfTheDayUI

public class WindowsTipOfTheDayUI
extends BasicTipOfTheDayUI

Windows implementation of the TipOfTheDayUI.


Nested Class Summary
static class WindowsTipOfTheDayUI.TipAreaBorder
           
 
Field Summary
 
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
changeListener, currentTipComponent, tipArea, tipFont, tipPane
 
Constructor Summary
WindowsTipOfTheDayUI(JXTipOfTheDay tipPane)
           
 
Method Summary
 JDialog createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)
          Creates a new JDialog to display a JXTipOfTheDay panel.
static ComponentUI createUI(JComponent c)
           
protected  void installComponents()
           
 
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
createChangeListener, createDialog, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, showCurrentTip, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsTipOfTheDayUI

public WindowsTipOfTheDayUI(JXTipOfTheDay tipPane)
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

createDialog

public JDialog createDialog(Component parentComponent,
                            JXTipOfTheDay.ShowOnStartupChoice choice)
Description copied from class: TipOfTheDayUI
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.

Overrides:
createDialog in class BasicTipOfTheDayUI
Returns:
a new JDialog to display a JXTipOfTheDay panel

installComponents

protected void installComponents()
Overrides:
installComponents in class BasicTipOfTheDayUI