Package org.eclipse.jface.text.source
Interface ISharedTextColors
-
public interface ISharedTextColorsManages SWT color objects. Until thedisposemethod is called, the same color object is returned for equalRGBvalues.This interface may be implemented by clients.
- Since:
- 2.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voiddispose()Tells this object to dispose all its managed objects- Note that colors do not need dispose anymoreColorgetColor(RGB rgb)Returns the color object for the value represented by the givenRGBobject.
-
-
-
Method Detail
-
getColor
Color getColor(RGB rgb)
Returns the color object for the value represented by the givenRGBobject.- Parameters:
rgb- the RBG color specification- Returns:
- the color object for the given RGB value
-
dispose
default void dispose()
Tells this object to dispose all its managed objects- Note that colors do not need dispose anymore
-
-