/** Returns the user transform of this window in it's cell views. */
public CellTransform getUserTransformCell() {
// Note: only need to get the transform from the first cell because
// syncUserTransformCell makes sure that the transform is the same in
// all cell views.
View2DCell cellView = null;
synchronized (this) {
try {
cellView = cellViews.getFirst();
} catch (NoSuchElementException ex) {
}
}
if (cellView == null) {
// Return identity. (This happens in the SAS).
return new CellTransform(null, null);
}
return cellView.getUserTransformCell();
}