Top10Filter

Top10Filter class

Represents the top 10 filter.

class Top10Filter;

Constructors

ConstructorDescription
constructor(Object)Constructs from an Object convertible to this.

Properties

PropertyTypeDescription
isTopbooleanIndicates whether it’s top filter.
isPercentbooleanIndicates whether the items is percent.
itemsnumberGets and sets the items of the filter.
criteriaObject

Methods

MethodDescription
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:

ParameterTypeDescription
objObjectThe 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:

ParameterTypeDescription
valuebooleanThe 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:

ParameterTypeDescription
valuebooleanThe 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:

ParameterTypeDescription
valuenumberThe 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:

ParameterTypeDescription
valueObjectThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;

toObject()

Gets the Object.

toObject() : Object;