TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.uml2sd.ui.drawings.impl
Class ColorImpl

java.lang.Object
  extended by 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)
           
 
Method Summary
 void dispose()
          Diposes the color
 java.lang.Object getColor()
          Returns the contained color.
static ColorImpl getSystemColor(int color)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorImpl

public ColorImpl(org.eclipse.swt.widgets.Display display,
                 int r,
                 int g,
                 int b)
Method Detail

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

TPTP 4.5.0 Platform Project
Public API Specification