Top10Filter

Top10Filter class

Represents the top 10 filter.

class Top10Filter;

Constructors

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

Methods

MethodDescription
isTop()Indicates whether it’s top filter.
setIsTop(boolean)Indicates whether it’s top filter.
isPercent()Indicates whether the items is percent.
setIsPercent(boolean)Indicates whether the items is percent.
getItems()Gets and sets the items of the filter.
setItems(number)Gets and sets the items of the filter.
getCriteria()
setCriteria(object)
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;

setIsTop(boolean)

Indicates whether it’s top filter.

setIsTop(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

isPercent()

Indicates whether the items is percent.

isPercent() : boolean;

setIsPercent(boolean)

Indicates whether the items is percent.

setIsPercent(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getItems()

Gets and sets the items of the filter.

getItems() : number;

setItems(number)

Gets and sets the items of the filter.

setItems(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getCriteria()

getCriteria() : object;

setCriteria(object)

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;

Returns

Object