|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.rsyntaxtextarea.focusabletip.TipUtil
public class TipUtil
Static utility methods for focusable tips.
Method Summary | |
---|---|
static java.awt.Rectangle |
getScreenBoundsForPoint(int x,
int y)
Returns the screen coordinates for the monitor that contains the specified point. |
static java.awt.Color |
getToolTipBackground()
Returns the default background color to use for tool tip windows. |
static javax.swing.border.Border |
getToolTipBorder()
Returns the border used by tool tips in this look and feel. |
static void |
tweakTipEditorPane(javax.swing.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 |
Method Detail |
---|
public static java.awt.Rectangle getScreenBoundsForPoint(int x, int y)
x
- The x-coordinate, in screen coordinates.y
- The y-coordinate, in screen coordinates.
public static java.awt.Color getToolTipBackground()
public static javax.swing.border.Border getToolTipBorder()
public static void tweakTipEditorPane(javax.swing.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |