|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.widget.tooltip.TipUtil
public class TipUtil
Static utility methods for focusable tips.
| Field Summary | |
|---|---|
protected static String |
COPY_ICON_PATH
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String COPY_ICON_PATH
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||