org.eclipse.hyades.uml2sd.ui.drawings.impl
Class ColorImpl
java.lang.Object
org.eclipse.hyades.uml2sd.ui.drawings.impl.ColorImpl
- All Implemented Interfaces:
- IColor
public class ColorImpl
- extends java.lang.Object
- implements IColor
|
Constructor Summary |
ColorImpl(org.eclipse.swt.widgets.Display display,
int r,
int g,
int b)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorImpl
public ColorImpl(org.eclipse.swt.widgets.Display display,
int r,
int g,
int b)
getSystemColor
public static ColorImpl getSystemColor(int color)
getColor
public java.lang.Object getColor()
- Description copied from interface:
IColor
- Returns the contained color.
Returned object must be an instance of org.eclipse.swt.graphics.Color if used
with the org.eclipse.hyades.uml2sd.ui.view.NGC graphical context
- Specified by:
getColor in interface IColor
- Returns:
- the color
dispose
public void dispose()
- Description copied from interface:
IColor
- Diposes the color
- Specified by:
dispose in interface IColor