public class Tile extends StackArranger
StackArranger
s in a tabular
pattern.
The table is defined by a number of rows and columns.
Constructor and Description |
---|
Tile() |
Tile(int numberColumns,
int numberRows)
Creates for a particular number of columns and rows.
|
Modifier and Type | Method and Description |
---|---|
StackArrangement |
arrangeStacks(Iterator<Extent> extents,
OperationContext context)
Arranges stacks to that they fit together in a single raster.
|
BoxAligner |
getAligner()
How to align a smaller image inside a larger cell.
|
StackArranger |
getCellDefault()
Used to define an individual cell, when no specific entry is found in
cells for a
particular cell. |
List<Cell> |
getCells()
Defines the corresponding
StackArranger for an individual cell in table. |
int |
getNumberColumns()
The number of columns to use in the table produced when tiling.
|
int |
getNumberRows()
The number of rows to use in the table produced when tiling.
|
void |
setAligner(BoxAligner aligner)
How to align a smaller image inside a larger cell.
|
void |
setCellDefault(StackArranger cellDefault)
Used to define an individual cell, when no specific entry is found in
cells for a
particular cell. |
void |
setCells(List<Cell> cells)
Defines the corresponding
StackArranger for an individual cell in table. |
void |
setNumberColumns(int numberColumns)
The number of columns to use in the table produced when tiling.
|
void |
setNumberRows(int numberRows)
The number of rows to use in the table produced when tiling.
|
combine, combine
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Tile(int numberColumns, int numberRows)
numberColumns
- the number of columns to use in the table produced when tiling.numberRows
- the number of rows to use in the table produced when tiling.public Tile()
public StackArrangement arrangeStacks(Iterator<Extent> extents, OperationContext context) throws ArrangeStackException
StackArranger
arrangeStacks
in class StackArranger
extents
- the size of each respective stack for the arrangement.context
- objects for the operation.RGBStack
in the unified plane.ArrangeStackException
- if a bounding-box cannot be determined for any stack.public int getNumberColumns()
public void setNumberColumns(int numberColumns)
public int getNumberRows()
public void setNumberRows(int numberRows)
public List<Cell> getCells()
StackArranger
for an individual cell in table.
Each cell should be specified zero or one times, via a reference to the corresponding row and column.
If a particular cell is unspecified, cellDefault
is used.
public void setCells(List<Cell> cells)
StackArranger
for an individual cell in table.
Each cell should be specified zero or one times, via a reference to the corresponding row and column.
If a particular cell is unspecified, cellDefault
is used.
public StackArranger getCellDefault()
cells
for a
particular cell.public void setCellDefault(StackArranger cellDefault)
cells
for a
particular cell.public BoxAligner getAligner()
public void setAligner(BoxAligner aligner)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.