FormatConditionCollection
概要
FormatConditionCollection は Aspose.Cells の FOSS における Java 用のクラスです。
Excel の書式条件コレクションを表します。
このクラスは、Java プログラムで FormatConditionCollection オブジェクトを操作するための 9 つのメソッドを提供します。利用可能なメソッドは、add、addArea、addCondition、get、getCellArea、getCount、getRangeCount、removeArea、removeCondition です。Aspose.Cells の Java 用 FOSS パッケージをインストールすると、エクスポートされたすべてのメンバーが任意の Java アプリケーションから利用可能になります。プロパティ: count、rangeCount。
説明
FormatConditionCollection は、Java 用の Aspose.Cells FOSS ライブラリに含まれるクラスで、プログラムから使用できる 11 のメソッドと 2 つのプロパティを公開しています。
主な機能は、エリアの追加、エリアの削除、条件の削除です。これらの操作により、開発者は formatconditioncollection の機能を Java アプリケーションに直接組み込むことができます。
このクラスは、count プロパティ(カウントを返す)と、rangeCount プロパティ(範囲のカウントを返す)も提供します。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
count | int | 読み取り | カウントを返します。 |
rangeCount | int | 読み取り | 範囲のカウントを返します。 |
メソッド
| シグネチャ | 説明 |
|---|---|
getCount() → int | カウントを返します。 |
getRangeCount() → int | 範囲のカウントを返します。 |
get(index: int) → FormatCondition | 要求された項目を返します。 |
add(area: CellArea, type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | 現在のコレクションに新しい項目を追加します。 |
addCondition(type: FormatConditionType) → int | 条件を追加します。 |
addCondition(type: FormatConditionType, operatorType: OperatorType, formula1: String, formula2: String) → int | 条件を追加します。 |
addArea(area: CellArea) | 領域を追加します。 |
getCellArea(index: int) → CellArea | セル領域の取得を処理します。 |
removeArea(index: int) | 領域を削除します。 |
removeArea(startRow: int, startColumn: int, totalRows: int, totalColumns: int) | 領域を削除します。 |
removeCondition(index: int) | 条件を削除します。 |