Package org.eclipse.graphiti.tb
Interface IBorderDecorator
- All Superinterfaces:
IDecorator
- All Known Implementing Classes:
BorderDecorator
Border decorators can be used to add a border (a rectangle around the shape)
to the visualization of a shape without modifying the dirty state of the
displaying editor, see
IDecorator.- Since:
- 0.9
-
Method Summary
Modifier and TypeMethodDescriptionReturns the color that will be used for the border.Returns the style that will be used for the border line.Returns the width that will be used for the border line.Methods inherited from interface org.eclipse.graphiti.tb.IDecorator
getMessage, setMessage
-
Method Details
-
getBorderColor
IColorConstant getBorderColor()Returns the color that will be used for the border. By default (when returningnull)IColorConstant.BLACKis used.- Returns:
- a
IColorConstantdefining the color
-
getBorderWidth
Integer getBorderWidth()Returns the width that will be used for the border line. By default (when returningnullor a value smaller than 1) 1 is used.- Returns:
- an
Integerdefining the width of the border line
-
getBorderStyle
Integer getBorderStyle()Returns the style that will be used for the border line. Possible values are:Graphics.LINE_SOLIDGraphics.LINE_DASHGraphics.LINE_DASHDOTGraphics.LINE_DASHDOTDOTGraphics.LINE_DOT
nullor an invalid value)Graphics.LINE_SOLIDis used.- Returns:
- an
Integerdefining the width of the border style
-