Class AlphaDropShadowBorder
- java.lang.Object
-
- org.eclipse.draw2d.AbstractBorder
-
- org.eclipse.draw2d.AbstractBackground
-
- org.modelversioning.emfprofile.diagram.layout.AlphaDropShadowBorder
-
- All Implemented Interfaces:
org.eclipse.draw2d.Border,org.eclipse.gmf.runtime.draw2d.ui.figures.DropShadowBorder,org.eclipse.gmf.runtime.draw2d.ui.internal.figures.TransparentBorder
public class AlphaDropShadowBorder extends org.eclipse.draw2d.AbstractBackground implements org.eclipse.gmf.runtime.draw2d.ui.figures.DropShadowBorderA border using a shadow
creation : 17 mai. 08
-
-
Constructor Summary
Constructors Constructor Description AlphaDropShadowBorder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.draw2d.geometry.InsetsgetInsets(org.eclipse.draw2d.IFigure figure)Method for determining the inset the border will take up on the shape.org.eclipse.draw2d.geometry.InsetsgetTransparentInsets(org.eclipse.draw2d.IFigure figure)voidpaintBackground(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)voidsetShouldDrawDropShadow(boolean drawDropShadow)booleanshouldDrawDropShadow()-
Methods inherited from class org.eclipse.draw2d.AbstractBorder
getPaintRectangle, getPreferredSize, isOpaque
-
-
-
-
Method Detail
-
setShouldDrawDropShadow
public void setShouldDrawDropShadow(boolean drawDropShadow)
- Specified by:
setShouldDrawDropShadowin interfaceorg.eclipse.gmf.runtime.draw2d.ui.figures.DropShadowBorder
-
shouldDrawDropShadow
public boolean shouldDrawDropShadow()
- Specified by:
shouldDrawDropShadowin interfaceorg.eclipse.gmf.runtime.draw2d.ui.figures.DropShadowBorder
-
getInsets
public org.eclipse.draw2d.geometry.Insets getInsets(org.eclipse.draw2d.IFigure figure)
Method for determining the inset the border will take up on the shape.- Specified by:
getInsetsin interfaceorg.eclipse.draw2d.Border- Overrides:
getInsetsin classorg.eclipse.draw2d.AbstractBackground- Parameters:
figure- Figure that will be inset from the border- Returns:
- Insets the Insets for the border on the given figure.
-
getTransparentInsets
public org.eclipse.draw2d.geometry.Insets getTransparentInsets(org.eclipse.draw2d.IFigure figure)
- Specified by:
getTransparentInsetsin interfaceorg.eclipse.gmf.runtime.draw2d.ui.internal.figures.TransparentBorder
-
paintBackground
public void paintBackground(org.eclipse.draw2d.IFigure figure, org.eclipse.draw2d.Graphics graphics, org.eclipse.draw2d.geometry.Insets insets)- Overrides:
paintBackgroundin classorg.eclipse.draw2d.AbstractBackground
-
-