Option
Vue de l’ensemble
‘Option’ est une classe dans Aspose.PDF FOSS pour Java.
Une option unique dans un champ de choix (ComboBox/ListBox).
Cette classe fournit 4 méthodes pour travailler avec les objets Option dans les programmes Java. Les méthodologies disponibles comprennent: ‘Option’, ‘getDisplayName’, `getValue’, ‘toString’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘displayNamen’, « valeur ».
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
value | String | Read | Returns the export value of this option. |
displayName | String | Read | Returns the display name of this option. |
méthodes
| Signature | Description |
|---|---|
Option(value: String, displayName: String) | Constructs an option with the given value and display name. |
getValue() → String | Returns the export value of this option. |
getDisplayName() → String | Returns the display name of this option. |
toString() → String | Returns the display name if available, otherwise the value. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise