Top10Filter
Top10Filter class
Represents the top 10 filter.
class Top10Filter;
Constructors
Constructor | Description |
---|---|
constructor(Object) | Constructs from an Object convertible to this. |
Properties
Property | Type | Description |
---|---|---|
isTop | boolean | Indicates whether it’s top filter. |
isPercent | boolean | Indicates whether the items is percent. |
items | number | Gets and sets the items of the filter. |
criteria | Object |
Methods
Method | Description |
---|---|
isTop() | @deprecated. Please use the ‘isTop’ property instead. Indicates whether it’s top filter. |
setIsTop(boolean) | @deprecated. Please use the ‘isTop’ property instead. Indicates whether it’s top filter. |
isPercent() | @deprecated. Please use the ‘isPercent’ property instead. Indicates whether the items is percent. |
setIsPercent(boolean) | @deprecated. Please use the ‘isPercent’ property instead. Indicates whether the items is percent. |
getItems() | @deprecated. Please use the ‘items’ property instead. Gets and sets the items of the filter. |
setItems(number) | @deprecated. Please use the ‘items’ property instead. Gets and sets the items of the filter. |
getCriteria() | @deprecated. Please use the ‘criteria’ property instead. |
setCriteria(Object) | @deprecated. Please use the ‘criteria’ property instead. |
isNull() | Checks whether the implementation object is null. |
toObject() | Gets the Object. |
constructor(Object)
Constructs from an Object convertible to this.
constructor(obj: Object);
Parameters:
Parameter | Type | Description |
---|---|---|
obj | Object | The object. |
isTop
Indicates whether it’s top filter.
isTop : boolean;
isPercent
Indicates whether the items is percent.
isPercent : boolean;
items
Gets and sets the items of the filter.
items : number;
criteria
criteria : Object;
isTop()
@deprecated. Please use the ‘isTop’ property instead. Indicates whether it’s top filter.
isTop() : boolean;
setIsTop(boolean)
@deprecated. Please use the ‘isTop’ property instead. Indicates whether it’s top filter.
setIsTop(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
isPercent()
@deprecated. Please use the ‘isPercent’ property instead. Indicates whether the items is percent.
isPercent() : boolean;
setIsPercent(boolean)
@deprecated. Please use the ‘isPercent’ property instead. Indicates whether the items is percent.
setIsPercent(value: boolean) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getItems()
@deprecated. Please use the ‘items’ property instead. Gets and sets the items of the filter.
getItems() : number;
setItems(number)
@deprecated. Please use the ‘items’ property instead. Gets and sets the items of the filter.
setItems(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getCriteria()
@deprecated. Please use the ‘criteria’ property instead.
getCriteria() : Object;
setCriteria(Object)
@deprecated. Please use the ‘criteria’ property instead.
setCriteria(value: Object) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | Object | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
toObject()
Gets the Object.
toObject() : Object;