boolean isTop = isTop(); boolean isLeft = isLeft(); boolean isVerticalRotated = isVerticalRotated();
/** * Gets the tile adjacent to this axis. * @return the tile. */ public Tile getTile() { if (isTop()) { return _mosaic.getTile(0,_index); } else if (isLeft()) { return _mosaic.getTile(_index,0); } else if (isBottom()) { int irow = _mosaic.countRows()-1; return _mosaic.getTile(irow,_index); } else if (isRight()) { int icol = _mosaic.countColumns()-1; return _mosaic.getTile(_index,icol); } else { return null; } }
for (int irow=0; irow<nrow; ++irow) drawZoom(mosaic.getTile(irow,jcol),x,y,true,false); if (axis.isTop()) { drawZoom(mosaic.getTileAxisBottom(jcol),x,y,true,false); } else {