Class BasicRichTooltipPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.PanelUI
org.pushingpixels.radiance.component.internal.ui.common.RichTooltipPanelUI
org.pushingpixels.radiance.component.internal.ui.common.BasicRichTooltipPanelUI
- Direct Known Subclasses:
RadianceRichTooltipPanelUI
Basic UI for rich tooltip panel
JRichTooltipPanel
.-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JLabel
private JSeparator
private JLabel
protected JRichTooltipPanel
The associated tooltip panel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LayoutManager
private int
private int
protected void
Installs components on the associated rich tooltip panel.protected void
Installs default settings for the associated rich tooltip panel.protected void
Installs listeners on the associated rich tooltip panel.void
void
paint
(Graphics g, JComponent c) protected abstract void
private void
protected void
Uninstalls subcomponents from the associated rich tooltip panel.protected void
Uninstalls default settings from the associated rich tooltip panel.protected void
Uninstalls listeners from the associated rich tooltip panel.void
void
update
(Graphics g, JComponent c) Methods inherited from class javax.swing.plaf.ComponentUI
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
-
Field Details
-
richTooltipPanel
The associated tooltip panel. -
titleLabels
-
descriptionLabels
-
mainImageLabel
-
-
Constructor Details
-
BasicRichTooltipPanelUI
public BasicRichTooltipPanelUI()
-
-
Method Details
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
installDefaults
protected void installDefaults()Installs default settings for the associated rich tooltip panel. -
installListeners
protected void installListeners()Installs listeners on the associated rich tooltip panel. -
installComponents
protected void installComponents()Installs components on the associated rich tooltip panel. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls default settings from the associated rich tooltip panel. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated rich tooltip panel. -
uninstallComponents
protected void uninstallComponents()Uninstalls subcomponents from the associated rich tooltip panel. -
update
- Overrides:
update
in classComponentUI
-
paintBackground
-
paint
- Overrides:
paint
in classComponentUI
-
createLayoutManager
-
getDescriptionTextWidth
private int getDescriptionTextWidth() -
getLayoutGap
private int getLayoutGap() -
removeExistingComponents
private void removeExistingComponents()
-