Package 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
Base implementation of the
JXTipOfTheDay
UI.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PropertyChangeListener
protected Component
protected JPanel
protected Font
protected JXTipOfTheDay
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyChangeListener
createDialog
(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice) Creates a new JDialog to display a JXTipOfTheDay panel.protected JDialog
createDialog
(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton) static ComponentUI
(package private) ActionMap
protected void
protected void
protected void
protected void
void
protected void
protected void
protected void
protected void
void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
-
Field Details
-
tipPane
-
tipArea
-
currentTipComponent
-
tipFont
-
changeListener
-
-
Constructor Details
-
BasicTipOfTheDayUI
-
-
Method Details
-
createUI
-
createDialog
Description copied from class:TipOfTheDayUI
Creates a new JDialog to display a JXTipOfTheDay panel. Ifchoice
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 classTipOfTheDayUI
- Parameters:
parentComponent
-choice
-- Returns:
- a new JDialog to display a JXTipOfTheDay panel
-
createDialog
protected JDialog createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton) -
installUI
- Overrides:
installUI
in classComponentUI
-
installKeyboardActions
protected void installKeyboardActions() -
getActionMap
ActionMap getActionMap() -
installListeners
protected void installListeners() -
createChangeListener
-
installDefaults
protected void installDefaults() -
installComponents
protected void installComponents() -
getPreferredSize
- Overrides:
getPreferredSize
in classComponentUI
-
showCurrentTip
protected void showCurrentTip() -
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
uninstallListeners
protected void uninstallListeners() -
uninstallComponents
protected void uninstallComponents() -
uninstallDefaults
protected void uninstallDefaults()
-