Package org.eclipse.draw2d
Class SimpleRaisedBorder
java.lang.Object
org.eclipse.draw2d.AbstractBorder
org.eclipse.draw2d.SchemeBorder
org.eclipse.draw2d.SimpleRaisedBorder
- All Implemented Interfaces:
- Border,- ColorConstants
Provides a raised border.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.eclipse.draw2d.SchemeBorderSchemeBorder.Scheme, SchemeBorder.SCHEMESNested classes/interfaces inherited from interface org.eclipse.draw2d.ColorConstantsColorConstants.SystemColorFactory
- 
Field SummaryFields inherited from class org.eclipse.draw2d.SchemeBorderDARKER_LIGHTER, DARKEST_DARKER, LIGHTER_DARKER, schemeFields inherited from class org.eclipse.draw2d.AbstractBordertempRectFields inherited from interface org.eclipse.draw2d.ColorConstantsblack, blue, button, buttonDarker, buttonDarkest, buttonLightest, cyan, darkBlue, darkGray, darkGreen, gray, green, lightBlue, lightGray, lightGreen, lineForeground, listBackground, listForeground, listHoverBackgroundColor, listSelectedBackgroundColor, menuBackground, menuBackgroundSelected, menuForeground, menuForegroundSelected, orange, red, titleBackground, titleForeground, titleGradient, titleInactiveBackground, titleInactiveForeground, titleInactiveGradient, tooltipBackground, tooltipForeground, white, yellow
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a SimpleRaisedBorder with the predefinedSchemeBorder.SCHEMES.BUTTON_RAISEDScheme set as default.SimpleRaisedBorder(int width) Constructs a SimpleRaisedBorder with the width of all sides provided as input.
- 
Method SummaryMethods inherited from class org.eclipse.draw2d.SchemeBordergetInsets, getScheme, isOpaque, paint, paint, setSchemeMethods inherited from class org.eclipse.draw2d.AbstractBordergetPaintRectangle, getPreferredSize
- 
Constructor Details- 
SimpleRaisedBorderpublic SimpleRaisedBorder()Constructs a SimpleRaisedBorder with the predefinedSchemeBorder.SCHEMES.BUTTON_RAISEDScheme set as default.- Since:
- 2.0
 
- 
SimpleRaisedBorderpublic SimpleRaisedBorder(int width) Constructs a SimpleRaisedBorder with the width of all sides provided as input. If width == 2, this SimpleRaisedBorder will use the local DOUBLE Scheme, otherwise it will use theSchemeBorder.SCHEMES.BUTTON_RAISEDScheme.- Parameters:
- width- the width of all the sides of the border
- Since:
- 2.0
 
 
-