protected static final class DefaultLineWrapper.AutoAdjustInfo extends Object implements Comparable<DefaultLineWrapper.AutoAdjustInfo>
Modifier and Type | Field and Description |
---|---|
private DefaultLineWrapper.ColumnState |
columnState
|
private int |
lineCount
The number of newlines + 1.
|
private int |
lineLengthMax
The maximum length of a single unwrapped line.
|
Modifier | Constructor and Description |
---|---|
private |
AutoAdjustInfo(DefaultLineWrapper.ColumnState columnState)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DefaultLineWrapper.AutoAdjustInfo other) |
boolean |
equals(Object obj) |
int |
getLineCount() |
double |
getTextLengthRation(double totalTextLength) |
int |
hashCode() |
private final DefaultLineWrapper.ColumnState columnState
private int lineCount
private int lineLengthMax
private AutoAdjustInfo(DefaultLineWrapper.ColumnState columnState)
columnState
- is the DefaultLineWrapper.ColumnState
.public int getLineCount()
public int compareTo(DefaultLineWrapper.AutoAdjustInfo other)
compareTo
in interface Comparable<DefaultLineWrapper.AutoAdjustInfo>
Copyright © 2001–2016 mmm-Team. All rights reserved.