Package io.keikai.model
Interface SPivotItem
- All Known Implementing Classes:
PivotItemImpl
public interface SPivotItem
Represents an item in a pivot field.
- Since:
- 7.0.0
-
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).voidsetHidden(boolean hidden) Sets the hidden state of this item.
-
Method Details
-
getIndex
int getIndex()Returns the zero-based index of this item.- Returns:
- the item index
-
getValue
Object getValue()Returns the value of this item.- Returns:
- the item value
-
isHidden
boolean isHidden()Returns whether this item is hidden (filtered out).- Returns:
- true if hidden
-
setHidden
void setHidden(boolean hidden) Sets the hidden state of this item.- Parameters:
hidden- true to hide this item
-
getCaption
String getCaption()Returns the display caption for this item.- Returns:
- the caption
-