public class MultiLineToolTipUI extends BasicToolTipUI
JMultiLineToolTip
doing the actually rendering of the multi-line tooltip. Modifier and Type | Field and Description |
---|---|
protected CellRendererPane |
rendererPane |
(package private) static MultiLineToolTipUI |
sharedInstance |
(package private) Font |
smallFont |
private static JTextArea |
textArea |
(package private) static JToolTip |
tip |
Constructor and Description |
---|
MultiLineToolTipUI() |
Modifier and Type | Method and Description |
---|---|
static ComponentUI |
createUI(JComponent c) |
Dimension |
getMaximumSize(JComponent c) |
Dimension |
getMinimumSize(JComponent c) |
Dimension |
getPreferredSize(JComponent c) |
void |
installUI(JComponent c) |
void |
paint(Graphics g,
JComponent c) |
void |
uninstallUI(JComponent c) |
installDefaults, installListeners, uninstallDefaults, uninstallListeners
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
static MultiLineToolTipUI sharedInstance
Font smallFont
static JToolTip tip
protected CellRendererPane rendererPane
private static JTextArea textArea
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class BasicToolTipUI
public void uninstallUI(JComponent c)
uninstallUI
in class BasicToolTipUI
public void paint(Graphics g, JComponent c)
paint
in class BasicToolTipUI
public Dimension getPreferredSize(JComponent c)
getPreferredSize
in class BasicToolTipUI
public Dimension getMinimumSize(JComponent c)
getMinimumSize
in class BasicToolTipUI
public Dimension getMaximumSize(JComponent c)
getMaximumSize
in class BasicToolTipUI