Package org.jdesktop.swingx.plaf.windows
Class WindowsTipOfTheDayUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.jdesktop.swingx.plaf.TipOfTheDayUI
-
- org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
-
- org.jdesktop.swingx.plaf.windows.WindowsTipOfTheDayUI
-
public class WindowsTipOfTheDayUI extends BasicTipOfTheDayUI
Windows implementation of the TipOfTheDayUI.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWindowsTipOfTheDayUI.TipAreaBorder
-
Field Summary
-
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
changeListener, currentTipComponent, tipArea, tipFont, tipPane
-
-
Constructor Summary
Constructors Constructor Description WindowsTipOfTheDayUI(JXTipOfTheDay tipPane)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.JDialogcreateDialog(java.awt.Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)Creates a new JDialog to display a JXTipOfTheDay panel.static javax.swing.plaf.ComponentUIcreateUI(javax.swing.JComponent c)protected voidinstallComponents()-
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
createChangeListener, createDialog, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, showCurrentTip, uninstallComponents, uninstallDefaults, uninstallListeners, uninstallUI
-
-
-
-
Constructor Detail
-
WindowsTipOfTheDayUI
public WindowsTipOfTheDayUI(JXTipOfTheDay tipPane)
-
-
Method Detail
-
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
-
createDialog
public javax.swing.JDialog createDialog(java.awt.Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)Description copied from class:TipOfTheDayUICreates a new JDialog to display a JXTipOfTheDay panel. Ifchoiceis not null then the window will offer a way for the end-user to not show the tip of the day dialog.- Overrides:
createDialogin classBasicTipOfTheDayUI- Returns:
- a new JDialog to display a JXTipOfTheDay panel
-
installComponents
protected void installComponents()
- Overrides:
installComponentsin classBasicTipOfTheDayUI
-
-