Class Period

All Implemented Interfaces:
Serializable

public class Period extends AbstractChartObject
See Also:
  • Constructor Details

    • Period

      public Period()
  • Method Details

    • getPeriod

      public PeriodType getPeriod()
    • setPeriod

      @StudioProperty(type=ENUMERATION) public Period setPeriod(PeriodType period)
    • getCount

      public Integer getCount()
      Returns:
      count of periods
    • setCount

      @StudioProperty public Period setCount(Integer count)
      Sets how many periods button will select.
      Parameters:
      count - count
      Returns:
      period
    • getLabel

      public String getLabel()
      Returns:
      text label that is displayed on the button
    • setLabel

      @StudioProperty public Period setLabel(String label)
      Sets text label that will be displayed on the button.
      Parameters:
      label - label string
      Returns:
      period
    • getSelected

      public Boolean getSelected()
      Returns:
      true if this button is selected when the chart is initialized
    • setSelected

      @StudioProperty public Period setSelected(Boolean selected)
      Set selected to true if this button should be selected when the chart is initialized.
      Parameters:
      selected - selected option
      Returns:
      period