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 JLabelprivate JSeparatorprivate JLabelprotected JRichTooltipPanelThe associated tooltip panel. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate LayoutManagerprivate intprivate intprotected voidInstalls components on the associated rich tooltip panel.protected voidInstalls default settings for the associated rich tooltip panel.protected voidInstalls listeners on the associated rich tooltip panel.voidvoidpaint(Graphics g, JComponent c) protected abstract voidprivate voidprotected voidUninstalls subcomponents from the associated rich tooltip panel.protected voidUninstalls default settings from the associated rich tooltip panel.protected voidUninstalls listeners from the associated rich tooltip panel.voidvoidupdate(Graphics g, JComponent c) Methods inherited from class 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:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin 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:
updatein classComponentUI
-
paintBackground
-
paint
- Overrides:
paintin classComponentUI
-
createLayoutManager
-
getDescriptionTextWidth
private int getDescriptionTextWidth() -
getLayoutGap
private int getLayoutGap() -
removeExistingComponents
private void removeExistingComponents()
-