Package org.dashbuilder.displayer
Interface SelectorDisplayerSettingsBuilder<T extends SelectorDisplayerSettingsBuilder>
-
- All Superinterfaces:
org.dashbuilder.dataset.DataSetLookupBuilder<T>,DisplayerSettingsBuilder<T>
- All Known Implementing Classes:
AbstractSelectorSettingsBuilder,SelectorDisplayerSettingsBuilderImpl
public interface SelectorDisplayerSettingsBuilder<T extends SelectorDisplayerSettingsBuilder> extends DisplayerSettingsBuilder<T>
A displayer settings builder for selectorsDisplayerSettingsFactory.newSelectorSettings() .dataset("products") .group("product") .count("items") .title("Product selector") .column("Product") .column("Number of items")
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tmargins(int top, int bottom, int left, int right)Set the margins for this selector.Tmultiple(boolean multiple)Enables or disables the selection of multiple entriesTsubType_Dropdown()Set this selector chart's subtype to a selector Drop DownTsubType_Labels()Set this selector chart's subtype to a selector Labels. where labels will allow users to select a valueTsubType_Slider()Set this selector chart's subtype to a selector Slider.Twidth(int width)Sets the width of the selector.-
Methods inherited from interface org.dashbuilder.dataset.DataSetLookupBuilder
asc, buildLookup, column, column, column, column, column, dataset, desc, dynamic, dynamic, dynamic, filter, filter, firstDay, firstMonth, fixed, group, group, group, join, rowNumber, rowOffset, select, sort, sort
-
Methods inherited from interface org.dashbuilder.displayer.DisplayerSettingsBuilder
backgroundColor, buildSettings, dataset, expression, expression, filterOff, filterOn, format, format, format, htmlTemplate, jsTemplate, refreshOff, refreshOn, refreshOn, renderer, subtype, title, titleVisible, uuid
-
-
-
-
Method Detail
-
width
T width(int width)
Sets the width of the selector.- Parameters:
width- The width of selector.- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure a selector.
-
margins
T margins(int top, int bottom, int left, int right)
Set the margins for this selector.- Parameters:
top- The top margin.bottom- The bottom margin.left- The left margin.right- The right margin.- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure the selector.
-
multiple
T multiple(boolean multiple)
Enables or disables the selection of multiple entries- Parameters:
multiple- The multiple selection flag.- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure a selector.
-
subType_Dropdown
T subType_Dropdown()
Set this selector chart's subtype to a selector Drop Down- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure a selector.
-
subType_Slider
T subType_Slider()
Set this selector chart's subtype to a selector Slider. Used with dates and numeric values.- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure a selector.
-
subType_Labels
T subType_Labels()
Set this selector chart's subtype to a selector Labels. where labels will allow users to select a value- Returns:
- The DisplayerSettingsBuilder instance that is being used to configure a selector.
-
-