public class DashboardCategoryAttribute
DashboardCategoryAttribute Data class for attributes of a dashboard category
Modifier and Type | Field and Description |
---|---|
BBjNumber | FixedWidgetWidth FixedWidgetWidth attribute |
bbjstring | FixedWidgetWidth:n(1*)" DashboardCategoryAttribute string template |
BBjNumber | MaxWidgetWidth MaxWidgetWidth attribute |
BBjNumber | MinWidgetWidth MinWidgetWidth attribute |
BBjString | Name$ Name attribute |
BBjNumber | WidgetSizingModel WidgetSizingModel attribute |
Constructor and Description |
---|
DashboardCategoryAttribute() Constructs a DashboardCategoryAttribute with default values. Note that the name must be set to a unique value later for the DashboardCategoryAttribute to be valid. |
DashboardCategoryAttribute(DashboardCategory p_category!) Constructs a DashboardCategoryAttribute given an existing DashboardCategory. The DashboardCategoryAttribute's fields are populated automatically from the DashboardCategory. |
DashboardCategoryAttribute(BBjString p_stringTemplateString!) Constructs a DashboardCategoryAttribute given a string template. The DashboardCategoryAttribute's fields are populated automatically from the values stored in the string template. |
DashboardCategoryAttribute(BBjString p_name$, BBjNumber p_widgetSizingModel, BBjNumber p_minWidgetWidth, BBjNumber p_maxWidgetWidth, BBjNumber p_fixedWidgetWidth) Constructs a DashboardCategoryAttribute given all the field values |
Modifier and Type | Method and Description |
---|---|
BBjString | getTemplatedStringRepresentation() Gets a BBjTemplatedString representation of the DashboardCategoryAttribute |
public BBjNumber FixedWidgetWidth
FixedWidgetWidth attribute
public bbjstring FixedWidgetWidth:n(1*)"
DashboardCategoryAttribute string template
public BBjNumber MaxWidgetWidth
MaxWidgetWidth attribute
public BBjNumber MinWidgetWidth
MinWidgetWidth attribute
public BBjString Name$
Name attribute
public BBjNumber WidgetSizingModel
WidgetSizingModel attribute
public DashboardCategoryAttribute()
Constructs a DashboardCategoryAttribute with default values. Note that the name must be set to a unique value later for the DashboardCategoryAttribute to be valid.
public DashboardCategoryAttribute(DashboardCategory p_category!)
Constructs a DashboardCategoryAttribute given an existing DashboardCategory. The DashboardCategoryAttribute's fields are populated automatically from the DashboardCategory.
p_category!
A DashboardCategory for which to create the attribute objectpublic DashboardCategoryAttribute(BBjString p_stringTemplateString!)
Constructs a DashboardCategoryAttribute given a string template. The DashboardCategoryAttribute's fields are populated automatically from the values stored in the string template.
p_stringTemplateString!
A BBjString representation of a BBjTemplatedString filled out with the attributes of the DashboardCategoryAttributepublic DashboardCategoryAttribute(BBjString p_name$, BBjNumber p_widgetSizingModel, BBjNumber p_minWidgetWidth, BBjNumber p_maxWidgetWidth, BBjNumber p_fixedWidgetWidth)
Constructs a DashboardCategoryAttribute given all the field values
p_name$
Unique name of the dashboard categoryp_widgetSizingModel
The widget sizing model to use. See the DashboardCategory WIDGIT_SIZING constants. 0=Dynamic, 1=Fixedp_minWidgetWidth
The minimum widget width for dynamic widget sizingp_maxWidgetWidth
The maximum widget width for dynamic widget sizingp_fixedWidgetWidth
The widget width for fixed widget sizingpublic BBjString getTemplatedStringRepresentation()
Gets a BBjTemplatedString representation of the DashboardCategoryAttribute