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

NameTypeAccessDescription
valueStringReadReturns the export value of this option.
displayNameStringReadReturns the display name of this option.

méthodes

SignatureDescription
Option(value: String, displayName: String)Constructs an option with the given value and display name.
getValue()StringReturns the export value of this option.
getDisplayName()StringReturns the display name of this option.
toString()StringReturns the display name if available, otherwise the value.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français