|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JToolTip
net.java.sip.communicator.impl.gui.utils.ExtendedTooltip
public class ExtendedTooltip
The tooltip shown over a contact in the contact list.
| Nested Class Summary | |
|---|---|
static class |
ExtendedTooltip.ImageToolTipUI
Customized UI for this MetaContactTooltip. |
| Nested classes/interfaces inherited from class javax.swing.JToolTip |
|---|
JToolTip.AccessibleJToolTip |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ExtendedTooltip(Window parentWindow,
boolean isListViewEnabled)
Created a MetaContactTooltip. |
|
| Method Summary | |
|---|---|
void |
addLine(Icon icon,
String text)
Adds an icon-string list, which would appear on the right of the image panel. |
void |
addLine(JLabel[] labels)
Adds the given array of labels as one line in this tool tip. |
String |
getUIClassID()
Returns the name of the L&F class that renders this component. |
void |
removeAllLines()
Clear all lines. |
void |
setBottomText(String text)
Sets the text that would appear on the bottom of the tooltip. |
void |
setImage(ImageIcon imageIcon)
Sets the given image to this tooltip. |
void |
setTitle(String titleText)
Sets the title of the tooltip. |
| Methods inherited from class javax.swing.JToolTip |
|---|
getAccessibleContext, getComponent, getTipText, getUI, paramString, setComponent, setTipText, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedTooltip(Window parentWindow,
boolean isListViewEnabled)
isListViewEnabled - indicates if the list view is enabled| Method Detail |
|---|
public void setImage(ImageIcon imageIcon)
imageIcon - The image icon to set.public void setTitle(String titleText)
titleText - The title of the tooltip.
public void addLine(Icon icon,
String text)
icon - the icon to showtext - the name to showpublic void addLine(JLabel[] labels)
labels - the labels to addpublic void removeAllLines()
public void setBottomText(String text)
text - the text to setpublic String getUIClassID()
getUIClassID in class JToolTipJComponent.getUIClassID(),
UIDefaults.getUI(javax.swing.JComponent)
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||