Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Class SimpleRaisedBorder

java.lang.Object
  extended by

org.eclipse.draw2d.AbstractBorder
      extended by

org.eclipse.draw2d.SchemeBorder
          extended by
org.eclipse.draw2d.SimpleRaisedBorder
All Implemented Interfaces:
Border, ColorConstants

public class SimpleRaisedBorder
extends SchemeBorder

Provides a raised border.


Nested Class Summary
 
Nested classes inherited from class org.eclipse.draw2d. SchemeBorder
SchemeBorder.Scheme, SchemeBorder.SCHEMES
 
Nested classes inherited from class org.eclipse.draw2d. ColorConstants
ColorConstants.SystemColorFactory
 
Field Summary
 
Fields inherited from class org.eclipse.draw2d. SchemeBorder
DARKER_LIGHTER, DARKEST_DARKER, LIGHTER_DARKER, scheme
 
Fields inherited from class org.eclipse.draw2d. AbstractBorder
tempRect
 
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
SimpleRaisedBorder ()
          Constructs a SimpleRaisedBorder with the predefined SchemeBorder.SCHEMES.BUTTON_RAISED Scheme set as default.
SimpleRaisedBorder (int width)
          Constructs a SimpleRaisedBorder with the width of all sides provided as input.
 
Methods inherited from class org.eclipse.draw2d. SchemeBorder
getInsets, getScheme, isOpaque, paint, paint, setScheme
 
Methods inherited from class org.eclipse.draw2d. AbstractBorder
getPaintRectangle, getPreferredSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRaisedBorder

public SimpleRaisedBorder()
Constructs a SimpleRaisedBorder with the predefined SchemeBorder.SCHEMES.BUTTON_RAISED Scheme set as default.

Since:
2.0

SimpleRaisedBorder

public 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 the SchemeBorder.SCHEMES.BUTTON_RAISED Scheme.

Parameters:
width - the width of all the sides of the border
Since:
2.0

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire