Package org.timepedia.chronoscope.client

Examples of org.timepedia.chronoscope.client.Overlay


  {
  }

  public void onDeleteComment(ChartComment comment)
  {
    Overlay marker = overlayMapping.get(comment.getId());
    final XYPlot plot = chartPanel.getChart().getPlot();
    plot.removeOverlay(marker);
    plot.redraw();

    resizeChartView(); // TODO: Why this?
View Full Code Here


  protected Object getComponent(int x, int y, XYPlot plot) {
    Bounds plotBounds = plot.getBounds();

    // First check if (x,y) hit the center plot
    if ((null != plotBounds) && (plotBounds.inside(x, y))) {
      Overlay o = plot.getOverlayAt(x, y);
      if (o != null && (o instanceof Draggable) && ((Draggable)o).isDraggable()) {
        return o;
      }
      return plot;
    }
View Full Code Here

TOP

Related Classes of org.timepedia.chronoscope.client.Overlay

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.