public class TipUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
COPY_ICON_PATH |
| Modifier and Type | Method and Description |
|---|---|
static void |
addCopyContextMenu(FocusableTip focusableTip)
Add context menu for paste selected content
|
protected static void |
addCopyContextMenu(TipWindow tipWindows) |
static Color |
getToolTipBackground()
Returns the default background color to use for tool tip windows.
|
static void |
tweakTipEditorPane(JEditorPane textArea)
Tweaks a
JEditorPane so it can be used to render the
content in a focusable pseudo-tool tip. |
protected static final String COPY_ICON_PATH
public static Color getToolTipBackground()
public static void tweakTipEditorPane(JEditorPane textArea)
JEditorPane so it can be used to render the
content in a focusable pseudo-tool tip. It is assumed that the editor
pane is using an HTMLDocument.textArea - The editor pane to tweak.public static void addCopyContextMenu(FocusableTip focusableTip)
focusableTip - to add copy context menuprotected static void addCopyContextMenu(TipWindow tipWindows)
Copyright © 2004–2017 Ultreia.io. All rights reserved.