net.java.balloontip.styles
Class IsometricBalloonStyle
java.lang.Object
net.java.balloontip.styles.BalloonTipStyle
net.java.balloontip.styles.IsometricBalloonStyle
- All Implemented Interfaces:
- Border
public class IsometricBalloonStyle
- extends BalloonTipStyle
A balloon tip style with a depth effect
- Author:
- Bernhard Pauler, Tim Molderez
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IsometricBalloonStyle
public IsometricBalloonStyle(Color frontColor,
Color sideColor,
int depth)
- Constructor
- Parameters:
frontColor - front face colorsideColor - side face colordepth - depth of the balloon tip (in px)
getBorderInsets
public Insets getBorderInsets(Component c)
- Description copied from class:
BalloonTipStyle
- Retrieve the balloon tip's border insets
- Specified by:
getBorderInsets in interface Border- Specified by:
getBorderInsets in class BalloonTipStyle
- Returns:
- The balloon tip's border insets
isBorderOpaque
public boolean isBorderOpaque()
- Description copied from class:
BalloonTipStyle
- Is this balloon tip opaque?
- Specified by:
isBorderOpaque in interface Border- Overrides:
isBorderOpaque in class BalloonTipStyle
- Returns:
- True if opaque, false if the border uses transparency
paintBorder
public void paintBorder(Component c,
Graphics g,
int x,
int y,
int width,
int height)
http://balloontip.java.net/