Class BooleanValue
java.lang.Object
com.independentsoft.office.spreadsheet.pivotTables.ItemValue
com.independentsoft.office.spreadsheet.pivotTables.BooleanValue
The Class BooleanValue.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new boolean value.BooleanValue(boolean value)Instantiates a new boolean value. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the caption.intgetCount()Gets the count.intgetIndex()Gets the index.booleangetValue()Gets the value.booleanChecks for calculated value.booleanChecks if is unused item.voidsetCalculatedValue(boolean hasCalculatedValue)Sets the calculated value.voidsetCaption(String caption)Sets the caption.voidsetCount(int count)Sets the count.voidsetIndex(int index)Sets the index.voidsetUnusedItem(boolean isUnusedItem)Sets the unused item.voidsetValue(boolean value)Sets the value.toString()
-
Constructor Details
-
BooleanValue
public BooleanValue()Instantiates a new boolean value. -
BooleanValue
public BooleanValue(boolean value)Instantiates a new boolean value.- Parameters:
value- the value
-
-
Method Details
-
clone
-
toString
-
getCaption
Gets the caption.- Returns:
- the caption
-
setCaption
Sets the caption.- Parameters:
caption- the new caption
-
getCount
public int getCount()Gets the count.- Returns:
- the count
-
setCount
public void setCount(int count)Sets the count.- Parameters:
count- the new count
-
hasCalculatedValue
public boolean hasCalculatedValue()Checks for calculated value.- Returns:
- true, if successful
-
setCalculatedValue
public void setCalculatedValue(boolean hasCalculatedValue)Sets the calculated value.- Parameters:
hasCalculatedValue- the new calculated value
-
isUnusedItem
public boolean isUnusedItem()Checks if is unused item.- Returns:
- true, if is unused item
-
setUnusedItem
public void setUnusedItem(boolean isUnusedItem)Sets the unused item.- Parameters:
isUnusedItem- the new unused item
-
getValue
public boolean getValue()Gets the value.- Returns:
- the value
-
setValue
public void setValue(boolean value)Sets the value.- Parameters:
value- the new value
-
getIndex
public int getIndex()Gets the index.- Returns:
- the index
-
setIndex
public void setIndex(int index)Sets the index.- Parameters:
index- the new index
-