public class FormatInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
_fmtIdx |
private TextDescription.TextKind |
_kind |
Constructor and Description |
---|
FormatInfo(TextDescription.TextKind kind,
java.lang.Integer fmtIdx)
Constructor; if you don't need formatting, just use null.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getFormattedColumnIdx()
Returns the index of the column that may contain formatting.
|
TextDescription.TextKind |
getKind()
Returns kind of this format.
|
java.lang.String |
toString() |
private final TextDescription.TextKind _kind
private final java.lang.Integer _fmtIdx
public FormatInfo(TextDescription.TextKind kind, java.lang.Integer fmtIdx) throws java.lang.IllegalArgumentException
kind
- kind of formattingfmtIdx
- index of the formattable columnjava.lang.IllegalArgumentException
public TextDescription.TextKind getKind()
public java.lang.Integer getFormattedColumnIdx()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2009-2015 Tatjana (Tanja) Kostic