public interface Hint
LightweightHint
Modifier and Type | Method and Description |
---|---|
void |
addHintListener(HintListener listener) |
void |
hide()
Hides current hint object.
|
boolean |
isVisible() |
void |
pack() |
void |
removeHintListener(HintListener listener) |
void |
setLocation(RelativePoint point) |
void |
show(javax.swing.JComponent parentComponent,
int x,
int y,
javax.swing.JComponent focusBackComponent,
HintHint hintInfo) |
void show(javax.swing.JComponent parentComponent, int x, int y, javax.swing.JComponent focusBackComponent, HintHint hintInfo)
parentComponent
- defines coordinate system where hint will be shown.x
- x coordinate of hint in parent coordinate systemy
- y coordinate of hint in parent coordinate systemfocusBackComponent
- component which should get focus when the hint willboolean isVisible()
void hide()
void addHintListener(HintListener listener)
void removeHintListener(HintListener listener)
void pack()
void setLocation(RelativePoint point)