|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.draw2d.ui.figures.RectangularDropShadow
public class RectangularDropShadow
| Constructor Summary | |
|---|---|
RectangularDropShadow()
|
|
| Method Summary | |
|---|---|
protected void |
drawBottomRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
|
protected void |
drawBottomShadow(IFigure figure,
Graphics g,
Rectangle rBox)
|
protected void |
drawRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
|
void |
drawShadow(IFigure figure,
Graphics g,
Rectangle rect)
draw a shadow around given rectangle @rect |
protected void |
drawTopRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
|
protected Dimension |
getBottomRightShadowDimension()
|
protected Dimension |
getBottomShadowDimension(IFigure figure,
Rectangle rBox)
|
protected Dimension |
getLeftShadowDimension()
|
protected Dimension |
getRightShadowDimension(IFigure figure,
Rectangle rBox)
|
int |
getShadowHeight()
Method for determining the height of the drop shadow border will take up on the shape. |
int |
getShadowWidth()
Method for determining the width of the drop shadow border will take up on the shape. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RectangularDropShadow()
| Method Detail |
|---|
public int getShadowWidth()
public int getShadowHeight()
public void drawShadow(IFigure figure,
Graphics g,
Rectangle rect)
figure - g - rect - the rectangle to draw the shadow around
protected void drawTopRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
figure - g - rBox -
protected void drawRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
figure - g - rBox -
protected void drawBottomRightShadow(IFigure figure,
Graphics g,
Rectangle rBox)
figure - g - rBox -
protected void drawBottomShadow(IFigure figure,
Graphics g,
Rectangle rBox)
figure - g - rBox -
protected Dimension getRightShadowDimension(IFigure figure,
Rectangle rBox)
figure - rBox -
Dimension representing the right shadowprotected Dimension getBottomRightShadowDimension()
Dimension representing the bottom right shadow
protected Dimension getBottomShadowDimension(IFigure figure,
Rectangle rBox)
rBox -
Dimension representing the bottom shadowprotected Dimension getLeftShadowDimension()
Dimension representing the left shadow
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.