public abstract class Layouter<T> extends Object
Axes are split into four groups.
Ones that are displayed as columns,
Ones that are displayed as rows,
Ones that are listed as bullet items inside table cell,
and those which only have one value, and therefore doesn't show up
in the table.
Because of object reuse inside Layouter, this class is not thread-safe.
| Modifier and Type | Class and Description |
|---|---|
class |
Layouter.Column |
class |
Layouter.Row
Represents a row, which is a collection of
Layouter.Columns. |
| Constructor and Description |
|---|
Layouter(AxisList axisList)
Automatically split axes to x,y, and z.
|
Layouter(List<Axis> x,
List<Axis> y,
List<Axis> z) |
| Modifier and Type | Method and Description |
|---|---|
List<Layouter.Row> |
getRows()
Gets list of
Layouter.Rows to be displayed. |
protected abstract T |
getT(Combination c) |
int |
height(int n)
Computes the width of n-th Y-axis.
|
int |
repeatX(int n)
Computes the repeat count of n-th X-axis.
|
int |
width(int n)
Computes the width of n-th X-axis.
|
public Layouter(AxisList axisList)
public int width(int n)
public int repeatX(int n)
public int height(int n)
public List<Layouter.Row> getRows()
Layouter.Rows to be displayed.
The Layouter.Row object is reused, so every value
in collection returns the same object (but with different values.)protected abstract T getT(Combination c)
Copyright © 2004-2016. All Rights Reserved.