public class BooleanCell extends ObjectCell<Boolean>
formatPattern, value| コンストラクタと説明 |
|---|
BooleanCell(Boolean value,
short formatIndex)
値と書式のインデックス番号を指定するコンストラクタ。
|
BooleanCell(Boolean value,
short formatIndex,
String formatPattern)
値と、書式のインデックス番号、書式を指定するコンストラクタ。
|
BooleanCell(Boolean value,
String formatPattern)
値とその書式を指定するコンストラクタ。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
getBooleanCellValue()
設定した値の型と一致しない場合、このメソッドを呼ぶと
IllegalStateExceptionをスローします。 |
boolean |
isBoolean()
ブール型のセルかどうか。
|
getCellAddress, getDateCellValue, getFormatIndex, getFormatPattern, getNumberCellValue, getTextCellValue, getValue, isDateStart1904, isNumber, isTextpublic BooleanCell(Boolean value, short formatIndex)
フォーマットの書式は、nullになります。
value - フォーマット対象の値。formatIndex - 書式のインデックス番号。IllegalArgumentException - value == nullIllegalArgumentException - formatPattern == null || formatPatter.length() == 0.public BooleanCell(Boolean value, String formatPattern)
フォーマットのインデックス番号は、0となります。
value - フォーマット対象の値。formatPattern - Excelの書式。IllegalArgumentException - value == nullIllegalArgumentException - formatPattern == null || formatPatter.length() == 0.public BooleanCell(Boolean value, short formatIndex, String formatPattern)
value - フォーマット対象の値。formatIndex - フォーマットのインデックス番号。formatPattern - Excelの書式。IllegalArgumentException - value == nullIllegalArgumentException - formatIndex < 0IllegalArgumentException - formatPattern == null || formatPatter.length() == 0.public boolean isBoolean()
ObjectCellisBoolean インタフェース内 CommonCellisBoolean クラス内 ObjectCell<Boolean>public boolean getBooleanCellValue()
ObjectCellIllegalStateExceptionをスローします。getBooleanCellValue インタフェース内 CommonCellgetBooleanCellValue クラス内 ObjectCell<Boolean>Copyright © 2021 mygreen. All rights reserved.