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.DropShadowBorder
A border using a shadow
creation : 17 mai. 08
creation : 17 mai. 08
-
Field Summary
Fields inherited from class org.eclipse.draw2d.AbstractBorder
tempRect -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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) booleanMethods inherited from class org.eclipse.draw2d.AbstractBackground
paintMethods inherited from class org.eclipse.draw2d.AbstractBorder
getPaintRectangle, getPreferredSize, isOpaqueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.draw2d.Border
getPreferredSize, isOpaque, paint
-
Constructor Details
-
AlphaDropShadowBorder
public AlphaDropShadowBorder()
-
-
Method Details
-
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
-