1 45 46 package org.jfree.chart; 47 48 import java.awt.event.MouseEvent ; 49 import java.io.Serializable ; 50 import java.util.EventObject ; 51 52 import org.jfree.chart.entity.ChartEntity; 53 54 57 public class ChartMouseEvent extends EventObject implements Serializable { 58 59 60 private static final long serialVersionUID = -682393837314562149L; 61 62 63 private JFreeChart chart; 64 65 66 private MouseEvent trigger; 67 68 69 private ChartEntity entity; 70 71 80 public ChartMouseEvent(JFreeChart chart, MouseEvent trigger, 81 ChartEntity entity) { 82 super(chart); 83 this.chart = chart; 84 this.trigger = trigger; 85 this.entity = entity; 86 } 87 88 93 public JFreeChart getChart() { 94 return this.chart; 95 } 96 97 102 public MouseEvent getTrigger() { 103 return this.trigger; 104 } 105 106 111 public ChartEntity getEntity() { 112 return this.entity; 113 } 114 115 } 116 | Popular Tags |