Class PivotItemImpl

java.lang.Object
io.keikai.model.impl.PivotItemImpl
All Implemented Interfaces:
SPivotItem, Serializable

public class PivotItemImpl extends Object implements SPivotItem, Serializable
Default implementation of SPivotItem.
Since:
7.0.0
See Also:
  • Constructor Details

    • PivotItemImpl

      public PivotItemImpl(int index, Object value)
  • Method Details

    • getIndex

      public int getIndex()
      Description copied from interface: SPivotItem
      Returns the zero-based index of this item.
      Specified by:
      getIndex in interface SPivotItem
      Returns:
      the item index
    • getValue

      public Object getValue()
      Description copied from interface: SPivotItem
      Returns the value of this item.
      Specified by:
      getValue in interface SPivotItem
      Returns:
      the item value
    • setValue

      public void setValue(Object value)
    • isHidden

      public boolean isHidden()
      Description copied from interface: SPivotItem
      Returns whether this item is hidden (filtered out).
      Specified by:
      isHidden in interface SPivotItem
      Returns:
      true if hidden
    • setHidden

      public void setHidden(boolean hidden)
      Description copied from interface: SPivotItem
      Sets the hidden state of this item.
      Specified by:
      setHidden in interface SPivotItem
      Parameters:
      hidden - true to hide this item
    • getCaption

      public String getCaption()
      Description copied from interface: SPivotItem
      Returns the display caption for this item.
      Specified by:
      getCaption in interface SPivotItem
      Returns:
      the caption
    • setCaption

      public void setCaption(String caption)