org.pushingpixels.flamingo.internal.ui.common
Class BasicRichTooltipPanelUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.PanelUI
          extended by org.pushingpixels.flamingo.internal.ui.common.RichTooltipPanelUI
              extended by org.pushingpixels.flamingo.internal.ui.common.BasicRichTooltipPanelUI

public class BasicRichTooltipPanelUI
extends RichTooltipPanelUI

Basic UI for rich tooltip panel JRichTooltipPanel.


Nested Class Summary
protected  class BasicRichTooltipPanelUI.RichTooltipPanelLayout
           
 
Field Summary
protected  java.util.List<javax.swing.JLabel> descriptionLabels
           
protected  javax.swing.JLabel footerImageLabel
           
protected  java.util.List<javax.swing.JLabel> footerLabels
           
protected  javax.swing.JSeparator footerSeparator
           
protected  javax.swing.JLabel mainImageLabel
           
protected  JRichTooltipPanel richTooltipPanel
          The associated tooltip panel.
protected  java.util.List<javax.swing.JLabel> titleLabels
           
 
Constructor Summary
BasicRichTooltipPanelUI()
           
 
Method Summary
protected  java.awt.LayoutManager createLayoutManager()
           
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
           
protected  int getDescriptionTextWidth()
           
protected  int getLayoutGap()
           
protected  void installComponents()
          Installs components on the associated rich tooltip panel.
protected  void installDefaults()
          Installs default settings for the associated rich tooltip panel.
protected  void installListeners()
          Installs listeners on the associated rich tooltip panel.
 void installUI(javax.swing.JComponent c)
           
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
           
protected  void paintBackground(java.awt.Graphics g)
           
protected  void removeExistingComponents()
           
protected  void uninstallComponents()
          Uninstalls subcomponents from the associated rich tooltip panel.
protected  void uninstallDefaults()
          Uninstalls default settings from the associated rich tooltip panel.
protected  void uninstallListeners()
          Uninstalls listeners from the associated rich tooltip panel.
 void uninstallUI(javax.swing.JComponent c)
           
 void update(java.awt.Graphics g, javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

richTooltipPanel

protected JRichTooltipPanel richTooltipPanel
The associated tooltip panel.


titleLabels

protected java.util.List<javax.swing.JLabel> titleLabels

descriptionLabels

protected java.util.List<javax.swing.JLabel> descriptionLabels

mainImageLabel

protected javax.swing.JLabel mainImageLabel

footerSeparator

protected javax.swing.JSeparator footerSeparator

footerImageLabel

protected javax.swing.JLabel footerImageLabel

footerLabels

protected java.util.List<javax.swing.JLabel> footerLabels
Constructor Detail

BasicRichTooltipPanelUI

public BasicRichTooltipPanelUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)

installUI

public void installUI(javax.swing.JComponent c)
Overrides:
installUI in class javax.swing.plaf.ComponentUI

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
Overrides:
uninstallUI in class javax.swing.plaf.ComponentUI

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(java.awt.Graphics g,
                   javax.swing.JComponent c)
Overrides:
update in class javax.swing.plaf.ComponentUI

paintBackground

protected void paintBackground(java.awt.Graphics g)

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
Overrides:
paint in class javax.swing.plaf.ComponentUI

createLayoutManager

protected java.awt.LayoutManager createLayoutManager()

getDescriptionTextWidth

protected int getDescriptionTextWidth()

getLayoutGap

protected int getLayoutGap()

removeExistingComponents

protected void removeExistingComponents()