Example usage for com.google.gwt.graphics.client Color BLUE

List of usage examples for com.google.gwt.graphics.client Color BLUE

Introduction

In this page you can find the example usage for com.google.gwt.graphics.client Color BLUE.

Prototype

Color BLUE

To view the source code for com.google.gwt.graphics.client Color BLUE.

Click Source Link

Usage

From source file:com.google.speedtracer.client.MonitorVisualizationsPanel.java

License:Apache License

/**
 * Page transitions can also be marked so that if we navigate back to a
 * previous application state, we can see the point at which we tried to
 * navigate away./*from  w w  w.  ja  v  a  2  s. co m*/
 */
public void onPageTransition(TabChangeEvent change) {
    Url refresh = new Url(change.getUrl());
    String resource = refresh.getLastPathComponent();
    String description = "Navigating to " + (resource.equals("") ? refresh.getUrl() : resource);
    timelineMarks.addMark(change.getTime(), Color.BLUE, description, description, true);
    timelineMarks.drawMarksInBounds(mainTimeLineModel.getLeftBound(), mainTimeLineModel.getRightBound());
}