Top10Filter

Top10Filter class

Represents the top 10 filter.

class Top10Filter;

Constructors

NameDescription
constructor(IObject)Constructs from an IObject 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.

constructor(IObject)

Constructs from an IObject convertible to this.

constructor(obj: IObject);

Parameters:

ParameterTypeDescription
objIObjectThe 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.