/** * Returns the dataset group. * * @return The dataset group. */ @Override public DatasetGroup getGroup() { // unused but must return something, so while we are at it... return this.delegateSet.getGroup(); }
/** * Returns the dataset group. * * @return The dataset group. */ public DatasetGroup getGroup() { // unused but must return something, so while we are at it... return this.delegateSet.getGroup(); }
new ImageEntity(new Bounds(e.getArea().getBounds2D().getMinX(), e.getArea() .getBounds2D().getMaxX(), e.getArea().getBounds2D().getMinY(), e.getArea() .getBounds2D().getMaxY()), e.getDataset().getGroup().getID());
/** * Sets the dataset for the plot, replacing the existing dataset if there * is one. * * @param dataset the dataset (<code>null</code> permitted). * * @see #getDataset() */ public void setDataset(XYDataset dataset) { // if there is an existing dataset, remove the plot from the list of // change listeners... XYDataset existing = this.dataset; if (existing != null) { existing.removeChangeListener(this); } // set the new m_Dataset, and register the chart as a change listener... this.dataset = dataset; if (this.dataset != null) { setDatasetGroup(this.dataset.getGroup()); this.dataset.addChangeListener(this); } // send a m_Dataset change event to self... DatasetChangeEvent event = new DatasetChangeEvent(this, this.dataset); datasetChanged(event); }