public final class InfoTipHoverFactory
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
InfoTipHoverFactory.LazyContent
Class to create content when the infotip is shown for the first time.
|
static interface |
InfoTipHoverFactory.TableInfoTipProvider
Interface to allow easy provision of infotip content for cells in a JTable.
|
| Modifier and Type | Method and Description |
|---|---|
static InfoTipHover |
forTable(javax.swing.JTable table,
InfoTipHoverFactory.TableInfoTipProvider tableInfoTipProvider)
Create an InfoTipHover for cells in a table.
|
static InfoTipHover |
fromComponent(javax.swing.JComponent parent,
javax.swing.JComponent content)
Create an InfoTipHover.
|
static InfoTipHover |
fromComponent(javax.swing.JComponent parent,
javax.swing.JComponent content,
java.awt.Rectangle location)
Create an InfoTipHover.
|
static InfoTipHover |
fromTemplate(javax.swing.JComponent parent,
Template template)
Create an InfoTipHover.
|
static InfoTipHover |
fromTemplate(javax.swing.JComponent parent,
Template template,
java.awt.Rectangle location)
Create an InfoTipHover.
|
public static InfoTipHover fromComponent(javax.swing.JComponent parent, javax.swing.JComponent content, java.awt.Rectangle location)
Where possible, for UI consistency, fromTemplate should be used instead of this method.
parent - content - public static InfoTipHover fromComponent(javax.swing.JComponent parent, javax.swing.JComponent content)
Where possible, for UI consistency, fromTemplate should be used instead of this method.
parent - content - public static InfoTipHover fromTemplate(javax.swing.JComponent parent, Template template)
parent - template - a Lazily created JComponentpublic static InfoTipHover fromTemplate(javax.swing.JComponent parent, Template template, java.awt.Rectangle location)
parent - template - a Lazily created JComponentthe - location relative to the parent to show the hover.public static InfoTipHover forTable(javax.swing.JTable table, InfoTipHoverFactory.TableInfoTipProvider tableInfoTipProvider)
table - tableInfoTipProvider -