API / geotoolkit3d / gigagrid / filter / PropertyFilter / PropertyFilter
filter.PropertyFilter.PropertyFilter
Child class for Filter, providing ability to filter property
↳
PropertyFilter
Constructors
Methods
Constructors
• new PropertyFilter(propertyUid, min, max)
| Name | Type | Description |
|---|---|---|
propertyUid | string | the property key to filter on |
min | number | the minimum value to show |
max | number | the maximum value to show |
Filter.constructor
Methods
▸ clone(): PropertyFilter
Get a new instance of this filter
new instance
▸ getClassName(): string
string
▸ getPropertyUid(): string
Get this property key uid
string
uid
▸ set(uid, min, max): void
Set uid, min, max value for property filter
| Name | Type | Description |
|---|---|---|
uid | string | the property key to filter on |
min | number | the min property to show |
max | number | the max property to show |
void
▸ setPropertyMax(max): void
Set max value for property filter
| Name | Type | Description |
|---|---|---|
max | number | the max property to show |
void
▸ setPropertyMin(min): void
Set min value for property filter
| Name | Type | Description |
|---|---|---|
min | number | minimum property value |
void
▸ setPropertyUID(uid): void
Set property uid for filter
| Name | Type | Description |
|---|---|---|
uid | string | to set |
void
▸ toJson(): Object
The filter as JSON for the exchange with the backend Should not be changed.
Object
json
| Name | Type |
|---|---|
max? | number |
min? | number |
propertyKey? | string |
typeFilter? | string |
▸ Static getClassName(): string
string