Class BasicRichTooltipPanelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.RichTooltipPanelUI
-
- org.pushingpixels.flamingo.internal.ui.common.BasicRichTooltipPanelUI
-
public class BasicRichTooltipPanelUI extends RichTooltipPanelUI
Basic UI for rich tooltip panelJRichTooltipPanel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classBasicRichTooltipPanelUI.RichTooltipPanelLayout
-
Field Summary
Fields Modifier and Type Field Description protected List<JLabel>descriptionLabelsprotected JLabelfooterImageLabelprotected List<JLabel>footerLabelsprotected JSeparatorfooterSeparatorprotected JLabelmainImageLabelprotected JRichTooltipPanelrichTooltipPanelThe associated tooltip panel.protected List<JLabel>titleLabels
-
Constructor Summary
Constructors Constructor Description BasicRichTooltipPanelUI()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayoutManagercreateLayoutManager()static ComponentUIcreateUI(JComponent c)protected intgetDescriptionTextWidth()protected intgetLayoutGap()protected voidinstallComponents()Installs components on the associated rich tooltip panel.protected voidinstallDefaults()Installs default settings for the associated rich tooltip panel.protected voidinstallListeners()Installs listeners on the associated rich tooltip panel.voidinstallUI(JComponent c)voidpaint(Graphics g, JComponent c)protected voidpaintBackground(Graphics g)protected voidremoveExistingComponents()protected voiduninstallComponents()Uninstalls subcomponents from the associated rich tooltip panel.protected voiduninstallDefaults()Uninstalls default settings from the associated rich tooltip panel.protected voiduninstallListeners()Uninstalls listeners from the associated rich tooltip panel.voiduninstallUI(JComponent c)voidupdate(Graphics g, JComponent c)-
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
-
-
-
-
Field Detail
-
richTooltipPanel
protected JRichTooltipPanel richTooltipPanel
The associated tooltip panel.
-
mainImageLabel
protected JLabel mainImageLabel
-
footerSeparator
protected JSeparator footerSeparator
-
footerImageLabel
protected JLabel footerImageLabel
-
-
Method Detail
-
createUI
public static ComponentUI createUI(JComponent c)
-
installUI
public void installUI(JComponent c)
- Overrides:
installUIin classComponentUI
-
uninstallUI
public void uninstallUI(JComponent c)
- 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
public void update(Graphics g, JComponent c)
- Overrides:
updatein classComponentUI
-
paintBackground
protected void paintBackground(Graphics g)
-
paint
public void paint(Graphics g, JComponent c)
- Overrides:
paintin classComponentUI
-
createLayoutManager
protected LayoutManager createLayoutManager()
-
getDescriptionTextWidth
protected int getDescriptionTextWidth()
-
getLayoutGap
protected int getLayoutGap()
-
removeExistingComponents
protected void removeExistingComponents()
-
-