public class BasicTipOfTheDayUI extends TipOfTheDayUI
JXTipOfTheDay
UI.Modifier and Type | Class and Description |
---|---|
(package private) class |
BasicTipOfTheDayUI.ChangeListener |
(package private) class |
BasicTipOfTheDayUI.NextTipAction |
(package private) class |
BasicTipOfTheDayUI.PreviousTipAction |
Modifier and Type | Field and Description |
---|---|
protected PropertyChangeListener |
changeListener |
protected Component |
currentTipComponent |
protected JPanel |
tipArea |
protected Font |
tipFont |
protected JXTipOfTheDay |
tipPane |
Constructor and Description |
---|
BasicTipOfTheDayUI(JXTipOfTheDay tipPane) |
Modifier and Type | Method and Description |
---|---|
protected PropertyChangeListener |
createChangeListener() |
JDialog |
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 |
createUI(JComponent c) |
(package private) ActionMap |
getActionMap() |
Dimension |
getPreferredSize(JComponent c) |
protected void |
installComponents() |
protected void |
installDefaults() |
protected void |
installKeyboardActions() |
protected void |
installListeners() |
void |
installUI(JComponent c) |
protected void |
showCurrentTip() |
protected void |
uninstallComponents() |
protected void |
uninstallDefaults() |
protected void |
uninstallListeners() |
void |
uninstallUI(JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, paint, update
protected JXTipOfTheDay tipPane
protected Component currentTipComponent
protected PropertyChangeListener changeListener
public BasicTipOfTheDayUI(JXTipOfTheDay tipPane)
public static ComponentUI createUI(JComponent c)
public JDialog createDialog(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 JDialog createDialog(Component parentComponent, JXTipOfTheDay.ShowOnStartupChoice choice, boolean showPreviousButton)
public void installUI(JComponent c)
installUI
in class ComponentUI
protected void installKeyboardActions()
ActionMap getActionMap()
protected void installListeners()
protected PropertyChangeListener createChangeListener()
protected void installDefaults()
protected void installComponents()
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class ComponentUI
protected void showCurrentTip()
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void uninstallListeners()
protected void uninstallComponents()
protected void uninstallDefaults()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses