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 PropertyChangeListenerprotected Componentprotected JPanelprotected Fontprotected JXTipOfTheDay -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PropertyChangeListenercreateDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice) Creates a new JDialog to display a JXTipOfTheDay panel.protected JDialogcreateDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton) static ComponentUI(package private) ActionMapprotected voidprotected voidprotected voidprotected voidvoidprotected voidprotected voidprotected voidprotected voidvoidMethods inherited from class 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: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.- Specified by:
createDialogin 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:
installUIin classComponentUI
-
installKeyboardActions
protected void installKeyboardActions() -
getActionMap
ActionMap getActionMap() -
installListeners
protected void installListeners() -
createChangeListener
-
installDefaults
protected void installDefaults() -
installComponents
protected void installComponents() -
getPreferredSize
- Overrides:
getPreferredSizein classComponentUI
-
showCurrentTip
protected void showCurrentTip() -
uninstallUI
- Overrides:
uninstallUIin classComponentUI
-
uninstallListeners
protected void uninstallListeners() -
uninstallComponents
protected void uninstallComponents() -
uninstallDefaults
protected void uninstallDefaults()
-