edu.rice.cs.hpc.traceviewer.data.graph.ColorTable Class Reference

Inheritance diagram for edu.rice.cs.hpc.traceviewer.data.graph.ColorTable:
Inheritance graph
[legend]
Collaboration diagram for edu.rice.cs.hpc.traceviewer.data.graph.ColorTable:
Collaboration graph
[legend]

List of all members.

Classes

class  ColorImagePair

Public Member Functions

 ColorTable ()
 Creates a new ColorTable with Display _display.
void dispose ()
 Dispose the allocated resources.
Color getColor (String name)
 Returns the color in the colorMatcher that corresponds to the name's class.
Image getImage (String name)
 returns the image that corresponds to the name's class
void setColor (String name, RGB rgb)
void setColorTable ()
void addProcedure (String name)

Static Public Member Functions

static Image createImage (Display display, RGB color)

Static Public Attributes

static final int COLOR_ICON_SIZE = 8

Package Attributes

HashMap< String, ColorImagePaircolorMatcher
ArrayList< String > procNames
 All of the function names stored in this colorTable.
Display display
 The display this ColorTable uses to generate the random colors.

Private Member Functions

RGB getProcedureColor (String name, int colorMin, int colorMax, Random r)

Private Attributes

ProcedureClassMap classMap

Static Private Attributes

static ColorImagePair IMAGE_WHITE

Detailed Description

Definition at line 24 of file ColorTable.java.


Constructor & Destructor Documentation

edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.ColorTable (  ) 

Member Function Documentation

void edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.addProcedure ( String  name  ) 
static Image edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.createImage ( Display  display,
RGB  color 
) [static]
void edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.dispose (  ) 
Color edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.getColor ( String  name  ) 

Returns the color in the colorMatcher that corresponds to the name's class.

Parameters:
name 
Returns:

Definition at line 70 of file ColorTable.java.

References edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.colorMatcher.

Referenced by edu.rice.cs.hpc.traceviewer.data.db.DataPreparation.collect().

Image edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.getImage ( String  name  ) 

returns the image that corresponds to the name's class

Parameters:
name 
Returns:

Definition at line 80 of file ColorTable.java.

References edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.colorMatcher, and edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.ColorImagePair.getImage().

Referenced by edu.rice.cs.hpc.traceviewer.ui.DataViewer.DataViewer().

RGB edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.getProcedureColor ( String  name,
int  colorMin,
int  colorMax,
Random  r 
) [private]
void edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.setColor ( String  name,
RGB  rgb 
)
void edu.rice.cs.hpc.traceviewer.data.graph.ColorTable.setColorTable (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1