17 Colors

From Eclipsepedia

Jump to: navigation, search

Back to RWTOverview

Class RGB

Works the same as in SWT.

Class Color

Behaves the same as in SWT. Since there are no operating system resources allocated when creating a Color object, the RWT Color class does not have a dispose() method. To reduce memory footprint, the constructors were replaced by static mathods that return shared Color instances.

System Colors

Constants for 'natural' colors are defined in RWT and Display.getSystemColor() returns an instance of class Color for those.

Window system-specific colors such as COLOR_WIDGET_BORDER are not yet implemented.