java.lang.Iterable, java.util.Collection, java.util.Listpublic abstract class SurfaceZoomRegionList
extends java.util.AbstractList
SurfacePlot.
The number of elements changes according to the current state of the plot,
so don't copy it into an array and use that instead.| Constructor | Description |
|---|---|
SurfaceZoomRegionList(uk.ac.starlink.ttools.plot.SurfacePlot plot) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
get(int index) |
|
void |
reconfigure() |
Configures this list appropriately for the current state of the plot.
|
protected abstract void |
requestZoom(double[][] bounds) |
Invoked when the user indicates by mouse gestures that a zoomed
view is wanted.
|
int |
size() |
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringadd, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListpublic SurfaceZoomRegionList(uk.ac.starlink.ttools.plot.SurfacePlot plot)
plot - plot for zoomingprotected abstract void requestZoom(double[][] bounds)
bounds array
are 2-element double[] arrays giving (lower, upper)
bounds of the range along each axis which is required.
A null element indicates that no zooming along that axis is required.
Boundary values are in data coordinates.bounds - zoom request detailspublic int size()
size in interface java.util.Collectionsize in interface java.util.Listsize in class java.util.AbstractCollectionpublic java.lang.Object get(int index)
get in interface java.util.Listget in class java.util.AbstractListpublic void reconfigure()
Copyright © 2003-2018 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.