
**Inheritance:**
java.lang.Object
```
public class PivotAreaFilter
```

Represents the filter of [PivotArea](../../com.aspose.cells/pivotarea) for [PivotTable](../../com.aspose.cells/pivottable).
## Constructors

| Constructor | Description |
| --- | --- |
| [PivotAreaFilter()](#PivotAreaFilter--) |  |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getFieldIndex()](#getFieldIndex--) | Gets the index of the field in the source fields which this filter refers to. |
| [getSelected()](#getSelected--) | Indicates whether this field has selection. |
| [hashCode()](#hashCode--) |  |
| [isSubtotalSet(int subtotalType)](#isSubtotalSet-int-) | Gets which subtotal is set for this filter. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setSelected(boolean value)](#setSelected-boolean-) | Indicates whether this field has selection. |
| [setSubtotals(int subtotalType, boolean shown)](#setSubtotals-int-boolean-) | Subtotal for the filter. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### PivotAreaFilter() {#PivotAreaFilter--}
```
public PivotAreaFilter()
```


### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getFieldIndex() {#getFieldIndex--}
```
public int getFieldIndex()
```


Gets the index of the field in the source fields which this filter refers to. A value of -2 indicates the values field.

**Returns:**
int
### getSelected() {#getSelected--}
```
public boolean getSelected()
```


Indicates whether this field has selection. Only works when the PivotTable is in Outline view.

**Returns:**
boolean
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isSubtotalSet(int subtotalType) {#isSubtotalSet-int-}
```
public boolean isSubtotalSet(int subtotalType)
```


Gets which subtotal is set for this filter.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| subtotalType | int | [PivotFieldSubtotalType](../../com.aspose.cells/pivotfieldsubtotaltype). The subtotal function type. |

**Returns:**
boolean - 
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setSelected(boolean value) {#setSelected-boolean-}
```
public void setSelected(boolean value)
```


Indicates whether this field has selection. Only works when the PivotTable is in Outline view.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setSubtotals(int subtotalType, boolean shown) {#setSubtotals-int-boolean-}
```
public void setSubtotals(int subtotalType, boolean shown)
```


Subtotal for the filter.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| subtotalType | int | [PivotFieldSubtotalType](../../com.aspose.cells/pivotfieldsubtotaltype). The subtotal function. |
| shown | boolean | Indicates if showing this subtotal data. |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

