Last updated

API / geotoolkit3d / gigagrid / filter / PropertyFilter / PropertyFilter

Class: PropertyFilter

filter.PropertyFilter.PropertyFilter

Child class for Filter, providing ability to filter property

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new PropertyFilter(propertyUid, min, max)

new PropertyFilter(propertyUid, min, max)

Parameters

Name Type Description
propertyUidstringthe property key to filter on
minnumberthe minimum value to show
maxnumberthe maximum value to show

Overrides

Filter.constructor

Methods

clone

clone(): PropertyFilter

Get a new instance of this filter

Returns

PropertyFilter

new instance

Overrides

Filter.clone


getClassName

getClassName(): string

Returns

string

Inherited from

Filter.getClassName


getPropertyUid

getPropertyUid(): string

Get this property key uid

Returns

string

uid


set

set(uid, min, max): void

Set uid, min, max value for property filter

Parameters

Name Type Description
uidstringthe property key to filter on
minnumberthe min property to show
maxnumberthe max property to show

Returns

void


setPropertyMax

setPropertyMax(max): void

Set max value for property filter

Parameters

Name Type Description
maxnumberthe max property to show

Returns

void


setPropertyMin

setPropertyMin(min): void

Set min value for property filter

Parameters

Name Type Description
minnumberminimum property value

Returns

void


setPropertyUID

setPropertyUID(uid): void

Set property uid for filter

Parameters

Name Type Description
uidstringto set

Returns

void


toJson

toJson(): Object

The filter as JSON for the exchange with the backend Should not be changed.

Returns

Object

json

NameType
max?number
min?number
propertyKey?string
typeFilter?string

Overrides

Filter.toJson


getClassName

Static getClassName(): string

Returns

string

Inherited from

Filter.getClassName