Class BasicTipOfTheDayUI

Direct Known Subclasses:
WindowsTipOfTheDayUI

public class BasicTipOfTheDayUI extends TipOfTheDayUI
Base implementation of the JXTipOfTheDay UI.
  • Field Details

  • Constructor Details

    • BasicTipOfTheDayUI

      public BasicTipOfTheDayUI(JXTipOfTheDay tipPane)
  • Method Details

    • createUI

      public static ComponentUI createUI(JComponent c)
    • createDialog

      public JDialog createDialog(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
      Parameters:
      parentComponent -
      choice -
      Returns:
      a new JDialog to display a JXTipOfTheDay panel
    • createDialog

      protected JDialog createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton)
    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • installKeyboardActions

      protected void installKeyboardActions()
    • getActionMap

      ActionMap getActionMap()
    • installListeners

      protected void installListeners()
    • createChangeListener

      protected PropertyChangeListener createChangeListener()
    • installDefaults

      protected void installDefaults()
    • installComponents

      protected void installComponents()
    • getPreferredSize

      public Dimension getPreferredSize(JComponent c)
      Overrides:
      getPreferredSize in class ComponentUI
    • showCurrentTip

      protected void showCurrentTip()
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class ComponentUI
    • uninstallListeners

      protected void uninstallListeners()
    • uninstallComponents

      protected void uninstallComponents()
    • uninstallDefaults

      protected void uninstallDefaults()