Class ScrollableLegend

All Implemented Interfaces:
HasBorder<ScrollableLegend>, HasPosition<ScrollableLegend>, HasShadow<ScrollableLegend>, HasPadding<ScrollableLegend>, Serializable

public class ScrollableLegend extends AbstractLegend<ScrollableLegend>
Scrollable legend. It helps when too many legend items needed to be shown. More detailed information is provided in the documentation.
See Also:
  • Field Details

    • scrollDataIndex

      protected Integer scrollDataIndex
    • pageButtonItemGap

      protected Integer pageButtonItemGap
    • pageButtonGap

      protected Integer pageButtonGap
    • pageButtonPosition

      protected AbstractLegend.Position pageButtonPosition
    • pageFormatter

      protected String pageFormatter
    • pageFormatterFunction

      protected JsFunction pageFormatterFunction
    • pageIcons

      protected ScrollableLegend.PageIcons pageIcons
    • pageIconColor

      protected Color pageIconColor
    • pageIconInactiveColor

      protected Color pageIconInactiveColor
    • pageIconSize

      protected Integer pageIconSize
    • pageTextStyle

      protected TextStyle pageTextStyle
    • animation

      protected Boolean animation
    • animationDurationUpdate

      protected Integer animationDurationUpdate
  • Constructor Details

    • ScrollableLegend

      public ScrollableLegend()
  • Method Details

    • getScrollDataIndex

      public Integer getScrollDataIndex()
    • setScrollDataIndex

      public void setScrollDataIndex(Integer scrollDataIndex)
    • getPageButtonItemGap

      public Integer getPageButtonItemGap()
    • setPageButtonItemGap

      public void setPageButtonItemGap(Integer pageButtonItemGap)
    • getPageButtonGap

      public Integer getPageButtonGap()
    • setPageButtonGap

      public void setPageButtonGap(Integer pageButtonGap)
    • getPageButtonPosition

      public AbstractLegend.Position getPageButtonPosition()
    • setPageButtonPosition

      public void setPageButtonPosition(AbstractLegend.Position pageButtonPosition)
    • getPageFormatter

      public String getPageFormatter()
    • setPageFormatter

      public void setPageFormatter(String pageFormatter)
    • getPageFormatterFunction

      public JsFunction getPageFormatterFunction()
    • setPageFormatterFunction

      public void setPageFormatterFunction(JsFunction pageFormatterFunction)
    • setPageFormatterFunction

      public void setPageFormatterFunction(String pageFormatterFunction)
    • getPageIcons

      public ScrollableLegend.PageIcons getPageIcons()
    • setPageIcons

      public void setPageIcons(ScrollableLegend.PageIcons pageIcons)
    • getPageIconColor

      public Color getPageIconColor()
    • setPageIconColor

      public void setPageIconColor(Color pageIconColor)
    • getPageIconInactiveColor

      public Color getPageIconInactiveColor()
    • setPageIconInactiveColor

      public void setPageIconInactiveColor(Color pageIconInactiveColor)
    • getPageIconSize

      public Integer getPageIconSize()
    • setPageIconSize

      public void setPageIconSize(Integer pageIconSize)
    • getPageTextStyle

      public TextStyle getPageTextStyle()
    • setPageTextStyle

      public void setPageTextStyle(TextStyle pageTextStyle)
    • getAnimation

      public Boolean getAnimation()
    • setAnimation

      public void setAnimation(Boolean animation)
    • getAnimationDurationUpdate

      public Integer getAnimationDurationUpdate()
    • setAnimationDurationUpdate

      public void setAnimationDurationUpdate(Integer animationDurationUpdate)
    • withScrollDataIndex

      public ScrollableLegend withScrollDataIndex(Integer scrollDataIndex)
    • withPageButtonItemGap

      public ScrollableLegend withPageButtonItemGap(Integer pageButtonItemGap)
    • withPageButtonGap

      public ScrollableLegend withPageButtonGap(Integer pageButtonGap)
    • withPageButtonPosition

      public ScrollableLegend withPageButtonPosition(AbstractLegend.Position pageButtonPosition)
    • withPageFormatter

      public ScrollableLegend withPageFormatter(String pageFormatter)
    • withPageFormatterFunction

      public ScrollableLegend withPageFormatterFunction(JsFunction formatterFunction)
    • withPageFormatterFunction

      public ScrollableLegend withPageFormatterFunction(String formatterFunctionCode)
    • withPageIcons

      public ScrollableLegend withPageIcons(ScrollableLegend.PageIcons pageIcons)
    • withPageIconColor

      public ScrollableLegend withPageIconColor(Color pageIconColor)
    • withPageIconInactiveColor

      public ScrollableLegend withPageIconInactiveColor(Color pageIconInactiveColor)
    • withPageIconSize

      public ScrollableLegend withPageIconSize(Integer pageIconSize)
    • withPageTextStyle

      public ScrollableLegend withPageTextStyle(TextStyle pageTextStyle)
    • withAnimation

      public ScrollableLegend withAnimation(Boolean animation)
    • withAnimationDurationUpdate

      public ScrollableLegend withAnimationDurationUpdate(Integer animationDurationUpdate)