BaseDataVisualization.java

Go to the documentation of this file.
00001 package edu.rice.cs.hpc.traceviewer.data.db;
00002 
00003 import org.eclipse.swt.graphics.Color;
00004 
00005 /*******************************************************
00006  * 
00007  * Data class to store the information of data to be 
00008  *  visualized on a depth view or detail view or any views
00009  *
00010  *******************************************************/
00011 public class BaseDataVisualization {
00012     final public int x_start;
00013     final public int x_end;
00014     final public Color color;
00015     final public int depth;
00016 
00017     public BaseDataVisualization(int x_start, int x_end, int depth, Color color) {
00018         
00019         this.x_start = x_start;
00020         this.x_end = x_end;
00021         this.color = color;
00022         this.depth = depth;
00023     }
00024     
00025     /*
00026      * (non-Javadoc)
00027      * @see java.lang.Object#toString()
00028      */
00029     public String toString() {
00030         
00031         return "[" + x_start + ", " + x_end + "] c: " + color +", d: " + depth;
00032     }
00033 }

Generated on 5 May 2015 for HPCVIEWER by  doxygen 1.6.1