public abstract class BalloonTipPositioner extends Object
Modifier and Type | Field and Description |
---|---|
protected BalloonTip |
balloonTip |
Constructor and Description |
---|
BalloonTipPositioner()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
determineAndSetLocation(Rectangle attached)
Determine and set the current location of the balloon tip
|
protected void |
finalize() |
BalloonTip |
getBalloonTip()
Retrieve the balloon tip that uses this positioner
|
abstract Point |
getTipLocation()
Find the current location of the balloon's tip, relative to the top-level container
|
protected abstract void |
onStyleChange()
This method is called whenever the balloon tip's style changes.
|
void |
setBalloonTip(BalloonTip balloonTip)
This method is meant only to be used by BalloonTip!
|
protected BalloonTip balloonTip
public final BalloonTip getBalloonTip()
public final void setBalloonTip(BalloonTip balloonTip)
balloonTip
- the balloon tippublic abstract Point getTipLocation()
public abstract void determineAndSetLocation(Rectangle attached)
attached
- the rectangle to which the balloon tip attaches itselfprotected abstract void onStyleChange()