org.jdesktop.swingx.plaf.basic
Class BasicTipOfTheDayUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.jdesktop.swingx.plaf.TipOfTheDayUI
org.jdesktop.swingx.plaf.basic.BasicTipOfTheDayUI
- Direct Known Subclasses:
- WindowsTipOfTheDayUI
public class BasicTipOfTheDayUI
- extends TipOfTheDayUI
Base implementation of the JXTipOfTheDay
UI.
- Author:
- Frederic Lavigne
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicTipOfTheDayUI
public BasicTipOfTheDayUI(JXTipOfTheDay tipPane)
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:
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.
- Specified by:
createDialog
in class TipOfTheDayUI
- Returns:
- a new JDialog to display a JXTipOfTheDay panel
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.ComponentUI
getPreferredSize
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
- Overrides:
getPreferredSize
in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.ComponentUI