Package io.keikai.model.impl
Class PivotItemImpl
java.lang.Object
io.keikai.model.impl.PivotItemImpl
- All Implemented Interfaces:
SPivotItem,Serializable
Default implementation of
SPivotItem.- Since:
- 7.0.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the display caption for this item.intgetIndex()Returns the zero-based index of this item.getValue()Returns the value of this item.booleanisHidden()Returns whether this item is hidden (filtered out).voidsetCaption(String caption) voidsetHidden(boolean hidden) Sets the hidden state of this item.void
-
Constructor Details
-
PivotItemImpl
-
-
Method Details
-
getIndex
public int getIndex()Description copied from interface:SPivotItemReturns the zero-based index of this item.- Specified by:
getIndexin interfaceSPivotItem- Returns:
- the item index
-
getValue
Description copied from interface:SPivotItemReturns the value of this item.- Specified by:
getValuein interfaceSPivotItem- Returns:
- the item value
-
setValue
-
isHidden
public boolean isHidden()Description copied from interface:SPivotItemReturns whether this item is hidden (filtered out).- Specified by:
isHiddenin interfaceSPivotItem- Returns:
- true if hidden
-
setHidden
public void setHidden(boolean hidden) Description copied from interface:SPivotItemSets the hidden state of this item.- Specified by:
setHiddenin interfaceSPivotItem- Parameters:
hidden- true to hide this item
-
getCaption
Description copied from interface:SPivotItemReturns the display caption for this item.- Specified by:
getCaptionin interfaceSPivotItem- Returns:
- the caption
-
setCaption
-