public class BasicRichTooltipPanelUI extends RichTooltipPanelUI
JRichTooltipPanel
.Modifier and Type | Class | Description |
---|---|---|
protected class |
BasicRichTooltipPanelUI.RichTooltipPanelLayout |
Modifier and Type | Field | Description |
---|---|---|
protected List<JLabel> |
descriptionLabels |
|
protected JLabel |
footerImageLabel |
|
protected List<JLabel> |
footerLabels |
|
protected JSeparator |
footerSeparator |
|
protected JLabel |
mainImageLabel |
|
protected JRichTooltipPanel |
richTooltipPanel |
The associated tooltip panel.
|
protected List<JLabel> |
titleLabels |
Constructor | Description |
---|---|
BasicRichTooltipPanelUI() |
Modifier and Type | Method | Description |
---|---|---|
protected LayoutManager |
createLayoutManager() |
|
static ComponentUI |
createUI(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(JComponent c) |
|
void |
paint(Graphics g,
JComponent c) |
|
protected void |
paintBackground(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(JComponent c) |
|
void |
update(Graphics g,
JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize
protected JRichTooltipPanel richTooltipPanel
protected JLabel mainImageLabel
protected JSeparator footerSeparator
protected JLabel footerImageLabel
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installDefaults()
protected void installListeners()
protected void installComponents()
protected void uninstallDefaults()
protected void uninstallListeners()
protected void uninstallComponents()
public void update(Graphics g, JComponent c)
update
in class ComponentUI
protected void paintBackground(Graphics g)
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
protected LayoutManager createLayoutManager()
protected int getDescriptionTextWidth()
protected int getLayoutGap()
protected void removeExistingComponents()