protected class LayoutAnalyzer.ListInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
lastgood
last child where the table was acceptable
|
int |
maxY1
maximal Y1 of the areas
|
int |
minY1
minimal Y1 of the areas
|
static int |
NSTYLES
Number of different styles accepted in a list
|
int[] |
rows
used grid rows
|
int[] |
stylecnt
style usage count
|
NodeStyle[] |
styles
used styles
|
int |
x1
basic left edge of the list
|
Constructor and Description |
---|
LayoutAnalyzer.ListInfo(int nrows) |
Modifier and Type | Method and Description |
---|---|
boolean |
fitsCols(int x)
Checks if the indentation fits to the list and updates the indentation info when necessary.
|
boolean |
stylesAcceptable() |
boolean |
updateStyles(NodeStyle style)
Compares the style with the existing list styles and updates the statistics.
|
void |
updateY1(int y1)
Updates the maximal/minimal Y1 with a new value
|
public static final int NSTYLES
public NodeStyle[] styles
public int[] stylecnt
public int[] rows
public int x1
public int minY1
public int maxY1
public int lastgood
public void updateY1(int y1)
y1
- the new value to be consideredpublic boolean fitsCols(int x)
x1
- start x coordinate of the new areapublic boolean updateStyles(NodeStyle style)
style
- public boolean stylesAcceptable()