|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.widget.tooltip.FocusableTip
public class FocusableTip
A focusable tool tip, similar to those found in Eclipse. The user can click in the tip and it becomes a "real," resizable window.
| Field Summary | |
|---|---|
protected int |
height
Height with default value. |
protected int |
width
Width with default value. |
| Constructor Summary | |
|---|---|
FocusableTip(JComponent attachedComponent,
HyperlinkListener listener)
|
|
| Method Summary | |
|---|---|
URL |
getImageBase()
Returns the base URL to use when loading images in this focusable tip. |
void |
possiblyDisposeOfTipWindow()
Disposes of the focusable tip currently displayed, if any. |
void |
setImageBase(URL url)
Sets the base URL to use when loading images in this focusable tip. |
void |
setSize(int width,
int height)
Change tip size. |
void |
toolTipRequested(MouseEvent e,
String text)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int width
protected int height
| Constructor Detail |
|---|
public FocusableTip(JComponent attachedComponent,
HyperlinkListener listener)
| Method Detail |
|---|
public void setSize(int width,
int height)
width - widthheight - heightpublic URL getImageBase()
setImageBase(URL)public void possiblyDisposeOfTipWindow()
public void setImageBase(URL url)
url - The base URL to use.getImageBase()
public void toolTipRequested(MouseEvent e,
String text)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||