public final class ConditionalStyleCollection
extends java.lang.Object
implements java.lang.Iterable
ConditionalStyle objects.
It is not possible to add or remove items from this collection. It contains permanent set of items: one item for each value of the ConditionalStyleType enumeration type.| Modifier and Type | Method and Description |
|---|---|
void |
clearFormatting()
Clears all conditional styles of the table style.
|
ConditionalStyle |
get(int index)
Retrieves a
ConditionalStyle object by index. |
ConditionalStyle |
getBottomLeftCell()
Gets the bottom left cell style.
|
ConditionalStyle |
getBottomRightCell()
Gets the bottom right cell style.
|
ConditionalStyle |
getByConditionalStyleType(int conditionalStyleType) |
int |
getCount()
Gets the number of conditional styles in the collection.
|
ConditionalStyle |
getEvenColumnBanding()
Gets the even column banding style.
|
ConditionalStyle |
getEvenRowBanding()
Gets the even row banding style.
|
ConditionalStyle |
getFirstColumn()
Gets the first column style.
|
ConditionalStyle |
getFirstRow()
Gets the first row style.
|
ConditionalStyle |
getLastColumn()
Gets the last column style.
|
ConditionalStyle |
getLastRow()
Gets the last row style.
|
ConditionalStyle |
getOddColumnBanding()
Gets the odd column banding style.
|
ConditionalStyle |
getOddRowBanding()
Gets the odd row banding style.
|
ConditionalStyle |
getTopLeftCell()
Gets the top left cell style.
|
ConditionalStyle |
getTopRightCell()
Gets the top right cell style.
|
java.util.Iterator |
iterator()
Returns an enumerator object that can be used to iterate over all conditional styles in the collection.
|
public final void clearFormatting()
public final java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic final ConditionalStyle getByConditionalStyleType(int conditionalStyleType)
public final ConditionalStyle get(int index)
ConditionalStyle object by index.index - Zero-based index of the conditional style to retrieve.ConditionalStyle value.public final int getCount()
public final ConditionalStyle getFirstRow()
public final ConditionalStyle getFirstColumn()
public final ConditionalStyle getLastRow()
public final ConditionalStyle getLastColumn()
public final ConditionalStyle getOddRowBanding()
public final ConditionalStyle getOddColumnBanding()
public final ConditionalStyle getEvenRowBanding()
public final ConditionalStyle getEvenColumnBanding()
public final ConditionalStyle getTopLeftCell()
public final ConditionalStyle getTopRightCell()
public final ConditionalStyle getBottomLeftCell()
public final ConditionalStyle getBottomRightCell()