|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.tooltip.shapes.OvalShape
public class OvalShape
A balloon shape implementation, which is a simple ellipse.
Constructor Summary | |
---|---|
OvalShape()
|
Method Summary | |
---|---|
Shape |
createOutline(Dimension balloonSize,
Dimension contentSize)
Create the ellipse outline. |
double |
getEdgeDistance(Point pixel,
BalloonTip balloonTip)
Get the edge distance |
Point |
getHotSpot(Dimension balloonSize)
Gets the arrow vertex position. |
Insets |
getInsets(Dimension contentSize)
Get the insets. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OvalShape()
Method Detail |
---|
public Shape createOutline(Dimension balloonSize, Dimension contentSize)
createOutline
in interface BalloonShape
balloonSize
- the preferred size of the balloon.contentSize
- the preferred size of the content
public Point getHotSpot(Dimension balloonSize)
BalloonShape
getHotSpot
in interface BalloonShape
balloonSize
- the preferred size of the balloon.
public Insets getInsets(Dimension contentSize)
getInsets
in interface BalloonShape
contentSize
- the preferred size of the content component.
public double getEdgeDistance(Point pixel, BalloonTip balloonTip)
getEdgeDistance
in interface BalloonShape
pixel
- current point in the balloon coordinate system.balloonTip
- the balloon tip.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |