public class RangeSelectorButton extends AbstractConfigurationObject
Constructor and Description |
---|
RangeSelectorButton() |
RangeSelectorButton(RangeSelectorTimespan type,
Number count,
String text) |
RangeSelectorButton(RangeSelectorTimespan type,
String text) |
Modifier and Type | Method and Description |
---|---|
Number |
getCount() |
DataGrouping |
getDataGrouping() |
String |
getText() |
RangeSelectorTimespan |
getType() |
void |
setCount(Number count)
Defines how many units of the defined type to use.
|
void |
setDataGrouping(DataGrouping dataGrouping)
Defines a custom data grouping definition for the button
|
void |
setText(String text)
Defines the text for the button
|
void |
setType(RangeSelectorTimespan type)
Defines the timespan for the button
|
public RangeSelectorButton()
public RangeSelectorButton(RangeSelectorTimespan type, Number count, String text)
public RangeSelectorButton(RangeSelectorTimespan type, String text)
public RangeSelectorTimespan getType()
setType(RangeSelectorTimespan)
public void setType(RangeSelectorTimespan type)
type
- public Number getCount()
setCount(Number)
public void setCount(Number count)
count
- public String getText()
setText(String)
public void setText(String text)
text
- public DataGrouping getDataGrouping()
setDataGrouping(DataGrouping)
public void setDataGrouping(DataGrouping dataGrouping)
dataGrouping
- Copyright © 2022. All rights reserved.