public abstract class SurfaceZoomRegionList extends AbstractList<ZoomRegion>
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.modCount| Constructor and Description |
|---|
SurfaceZoomRegionList(uk.ac.starlink.ttools.plot.SurfacePlot plot)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ZoomRegion |
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() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArrayparallelStream, removeIf, streampublic 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 Collection<ZoomRegion>size in interface List<ZoomRegion>size in class AbstractCollection<ZoomRegion>public ZoomRegion get(int index)
get in interface List<ZoomRegion>get in class AbstractList<ZoomRegion>public void reconfigure()
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.