|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.awt.graph.BalloonHelp
Description: This is a class that represents and draws information in a little "ballon help" window. ------------------------------------------------------------------------ $Author: sreilly $ $Date: 2001/01/31 19:31:12 $ $Revision: 1.1 $
Field Summary | |
static int |
ROUNDED
|
static int |
SQUARED
|
Constructor Summary | |
BalloonHelp(GraphDataSet dataSet,
boolean showShadow,
java.awt.Polygon myArea,
java.awt.Dimension theCanvasSize)
Construct a new BalloonHelp object. |
|
BalloonHelp(GraphDataSet dataSet,
boolean showShadow,
java.awt.Rectangle myArea,
java.awt.Dimension theCanvasSize)
Construct a new BalloonHelp object. |
|
BalloonHelp(GraphDataSet dataSet,
java.awt.Polygon myArea,
java.awt.Dimension theCanvasSize)
Construct a new BalloonHelp object. |
|
BalloonHelp(GraphDataSet dataSet,
java.awt.Rectangle myArea,
java.awt.Dimension theCanvasSize)
Construct a new BalloonHelp object. |
Method Summary | |
void |
drawBalloon(java.awt.Graphics g,
int x,
int y)
Draw the balloon at the specified location. |
java.awt.Dimension |
getBallonSize(java.awt.Graphics g)
Get's the screen size of the balloon. |
void |
handleMouseInside(java.awt.Graphics g,
int x,
int y)
Tells the balloon that the mouse is inside it's area, so it should draw itself on the screen. |
boolean |
isMouseInside(int x,
int y)
Asks if the mouse is inside the area covered by this help balloon. |
boolean |
isMouseInside(java.awt.Point p)
Asks if the mouse is inside the area covered by this help balloon. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SQUARED
public static final int ROUNDED
Constructor Detail |
public BalloonHelp(GraphDataSet dataSet, boolean showShadow, java.awt.Polygon myArea, java.awt.Dimension theCanvasSize)
dataSet
- The dataset that the balloon help describesshowShadow
- indicates whether or not we should show the shadowmyArea
- the area over which the balloon help applies.theCanvasSize
- the size of the graph canvaspublic BalloonHelp(GraphDataSet dataSet, java.awt.Polygon myArea, java.awt.Dimension theCanvasSize)
dataSet
- The dataset that the balloon help describesmyArea
- the area over which the balloon help applies.theCanvasSize
- the size of the graph canvaspublic BalloonHelp(GraphDataSet dataSet, java.awt.Rectangle myArea, java.awt.Dimension theCanvasSize)
dataSet
- The dataset that the balloon help describesmyArea
- the area over which the balloon help applies.theCanvasSize
- the size of the graph canvaspublic BalloonHelp(GraphDataSet dataSet, boolean showShadow, java.awt.Rectangle myArea, java.awt.Dimension theCanvasSize)
dataSet
- The dataset that the balloon help describesshowShadow
- indicates whether or not we should show the shadowmyArea
- the area over which the balloon help applies.theCanvasSize
- the size of the graph canvasMethod Detail |
public java.awt.Dimension getBallonSize(java.awt.Graphics g)
public boolean isMouseInside(java.awt.Point p)
public boolean isMouseInside(int x, int y)
public void handleMouseInside(java.awt.Graphics g, int x, int y)
public void drawBalloon(java.awt.Graphics g, int x, int y)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |