Public Member Functions | Private Attributes

de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.ColorManager Class Reference

aXLang source code editor color manager. This color manager provides the syntax highlighting colors. It maps them as they are needed, so their creation takes less time. More...

List of all members.

Public Member Functions

void dispose ()
 Get rid of the stored colors.
Color getColor (RGB rgbValue)
 Returns the requested color, if not stored, puts it in the color map.

Private Attributes

Map< RGB, Color > mapColorTable = new HashMap<RGB, Color>()
 color storage

Detailed Description

aXLang source code editor color manager. This color manager provides the syntax highlighting colors. It maps them as they are needed, so their creation takes less time.

Author:
Ekkart Kleinod
Version:
0.3.0
Since:
0.1.0

Member Function Documentation

void de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.ColorManager.dispose (  ) 

Get rid of the stored colors.

Color de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.ColorManager.getColor ( RGB  rgbValue  ) 

Returns the requested color, if not stored, puts it in the color map.

Parameters:
rgbValue rgb value of the color (id)
Returns:
corresponding color

Member Data Documentation

Map<RGB, Color> de.fraunhofer.isst.axbench.editors.axlmultipage.axleditor.ColorManager.mapColorTable = new HashMap<RGB, Color>() [private]

color storage