|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ShadowStyle
Shadow style defines different shadow casting style, including casting direction, whether it should be a perspective casting and the position relative the balloon popup.
| Method Summary | |
|---|---|
BufferedImage |
createShadow(BufferedImage image,
BalloonTip tip)
Create shadow image using the background image of the balloon tip. |
Dimension |
getShadowSize(Dimension size)
Get the size of shadow according to the balloon size. |
void |
layout(Rectangle balloonBounds,
Rectangle shadowBounds)
Layout the balloon and shadow according to the style. |
| Method Detail |
|---|
BufferedImage createShadow(BufferedImage image,
BalloonTip tip)
image - the background image of the balloon tiptip - the balloon tip.
Dimension getShadowSize(Dimension size)
size - the balloon size.
void layout(Rectangle balloonBounds,
Rectangle shadowBounds)
balloonBounds - the bounds for the balloon component.shadowBounds - the bounds for the shadow component.
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||