org.eclipse.draw2d
Class SimpleLoweredBorder
java.lang.Object
|
+--org.eclipse.draw2d.AbstractBorder
|
+--org.eclipse.draw2d.SchemeBorder
|
+--org.eclipse.draw2d.SimpleLoweredBorder
- All Implemented Interfaces:
- Border, ColorConstants
- public final class SimpleLoweredBorder
- extends SchemeBorder
Provides a lowered border.
Fields inherited from interface org.eclipse.draw2d.ColorConstants |
black, blue, button, buttonDarker, buttonDarkest, buttonLightest, cyan, darkBlue, darkGray, darkGreen, gray, green, lightBlue, lightGray, lightGreen, listBackground, listForeground, menuBackground, menuBackgroundSelected, menuForeground, menuForegroundSelected, orange, red, titleBackground, titleForeground, titleGradient, titleInactiveBackground, titleInactiveForeground, titleInactiveGradient, tooltipBackground, tooltipForeground, white, yellow |
Constructor Summary |
SimpleLoweredBorder()
Constructs a SimpleLoweredBorder with the predefined
button-pressed Scheme set as default. |
SimpleLoweredBorder(int width)
Constructs a SimpleLoweredBorder with the width of
all sides provided as input. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleLoweredBorder
public SimpleLoweredBorder()
- Constructs a SimpleLoweredBorder with the predefined
button-pressed Scheme set as default.
- Since:
- 2.0
SimpleLoweredBorder
public SimpleLoweredBorder(int width)
- Constructs a SimpleLoweredBorder with the width of
all sides provided as input.
- Parameters:
width
- Width of all the sides of the border.
If width == 2, this SimpleLoweredBorder
will use the local DOUBLE Scheme,
Else this SimpleLoweredButton will
use the SCHEMES.BUTTON_PRESSED Scheme.- Since:
- 2.0
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.