|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BalloonShape
BalloonShape
is the interface to provide BalloonTip additional shapes.
Method Summary | |
---|---|
Shape |
createOutline(Dimension balloonSize,
Dimension contentSize)
Create the outline shape of the balloon. |
double |
getEdgeDistance(Point pixel,
BalloonTip balloonTip)
Get the closest distance between the current pixel and the edge of the balloon outline. |
Point |
getHotSpot(Dimension balloonSize)
Gets the arrow vertex position. |
Insets |
getInsets(Dimension size)
Get the insets around the content component. |
Method Detail |
---|
Shape createOutline(Dimension balloonSize, Dimension contentSize)
balloonSize
- the preferred size of the balloon.contentSize
- the preferred size of the content
Insets getInsets(Dimension size)
size
- the preferred size of the content component.
double getEdgeDistance(Point pixel, BalloonTip balloonTip)
pixel
- current point in the balloon coordinate system.balloonTip
- the balloon tip.
Point getHotSpot(Dimension balloonSize)
balloonSize
- the preferred size of the balloon.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |