public class BasicTipOfTheDayUI extends TipOfTheDayUI
JXTipOfTheDay
UI.Modifier and Type | Field and Description |
---|---|
protected java.beans.PropertyChangeListener |
changeListener |
protected java.awt.Component |
currentTipComponent |
protected javax.swing.JPanel |
tipArea |
protected java.awt.Font |
tipFont |
protected JXTipOfTheDay |
tipPane |
Constructor and Description |
---|
BasicTipOfTheDayUI(JXTipOfTheDay tipPane) |
Modifier and Type | Method and Description |
---|---|
protected java.beans.PropertyChangeListener |
createChangeListener() |
javax.swing.JDialog |
createDialog(java.awt.Component parentComponent,
JXTipOfTheDay.ShowOnStartupChoice choice)
Creates a new JDialog to display a JXTipOfTheDay panel.
|
protected javax.swing.JDialog |
createDialog(java.awt.Component parentComponent,
JXTipOfTheDay.ShowOnStartupChoice choice,
boolean showPreviousButton) |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c) |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c) |
protected void |
installComponents() |
protected void |
installDefaults() |
protected void |
installKeyboardActions() |
protected void |
installListeners() |
void |
installUI(javax.swing.JComponent c) |
protected void |
showCurrentTip() |
protected void |
uninstallComponents() |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
void |
uninstallUI(javax.swing.JComponent c) |
protected JXTipOfTheDay tipPane
protected javax.swing.JPanel tipArea
protected java.awt.Component currentTipComponent
protected java.awt.Font tipFont
protected java.beans.PropertyChangeListener changeListener
public BasicTipOfTheDayUI(JXTipOfTheDay tipPane)
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
public javax.swing.JDialog createDialog(java.awt.Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice)
TipOfTheDayUI
choice
is not null then the window will offer a way for the
end-user to not show the tip of the day dialog.createDialog
in class TipOfTheDayUI
protected javax.swing.JDialog createDialog(java.awt.Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton)
public void installUI(javax.swing.JComponent c)
installUI
in class javax.swing.plaf.ComponentUI
protected void installKeyboardActions()
protected void installListeners()
protected java.beans.PropertyChangeListener createChangeListener()
protected void installDefaults()
protected void installComponents()
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
getPreferredSize
in class javax.swing.plaf.ComponentUI
protected void showCurrentTip()
public void uninstallUI(javax.swing.JComponent c)
uninstallUI
in class javax.swing.plaf.ComponentUI
protected void uninstallListeners()
protected void uninstallComponents()
protected void uninstallDefaults()