---
title: "FileIcon"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/fileicon/"
product: "Aspose.PDF for Java API Reference"
description: "An icon to be used in displaying the annotation."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < FileIcon > com.aspose.pdf.FileIcon, java.lang.Enum < FileIcon >, com.aspose.pdf.FileIcon

**All Implemented Interfaces:**
Serializable, Comparable < FileIcon >

```
public enum FileIcon extends Enum < FileIcon >
```

An icon to be used in displaying the annotation.

## Fields

| Field | Description |
| --- | --- |
| [Graph](#Graph) | Graph icon. |
| [Paperclip](#Paperclip) | Paperclip icon. |
| [PushPin](#PushPin) | PushPin icon (default value). |
| [Tag](#Tag) | This is tag icon. |

## Methods

| Method | Description |
| --- | --- |
| [getByValue](#getByValue-int-) |  |
| [getValue](#getValue--) |  |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Graph {#Graph}
```
public static final FileIcon Graph
```

Graph icon.

### Paperclip {#Paperclip}
```
public static final FileIcon Paperclip
```

Paperclip icon.

### PushPin {#PushPin}
```
public static final FileIcon PushPin
```

PushPin icon (default value).

### Tag {#Tag}
```
public static final FileIcon Tag
```

This is tag icon.

### getByValue {#getByValue-int-}
```
public static FileIcon getByValue(int value)
```



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

### getValue {#getValue--}
```
public int getValue()
```



### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static FileIcon [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
