AppearanceCharacteristics
AppearanceCharacteristics
General
AppearanceCharacteristics és una classe en FOSS per Java.
Envoltar al diccionari de característiques d’aspecte del widget ({@code /MK}, ISO 32000-1:2008 §12.5.6.19).
Aquesta classe proporciona 14 mètodes per treballar amb objectes AppearanceCharacteristics en programes Java. Els mètodes disponibles inclouen: AppearanceCharacteristics, getAlternateCaption, getBackground, getBorder, getCaption, getPdfDictionary, getRolloverCaption, getRotate, setAlternateCaption, setBackground, setBorder, setCaption, i 2 mètodes addicionals. Tots els membres públics són accessibles a qualsevol aplicació Java després d’instal·lar el paquet FOSS per Java. Propietats: alternateCaption, background, border, caption, pdfDictionary, rolloverCaption, i una més.
Propietats
| Nom | Tipus de productes | Access | Descripció |
|---|---|---|---|
background | Color | Llegeix. | Obté el fons. |
border | Color | Llegeix. | Obté la vora. |
rotate | int | Llegeix. | Retorna la rotació en graus (0, 90, 180 o 270). |
caption | String | Llegeix. | Retorna el títol normal (/CA), o {@code null} si no està establert. |
rolloverCaption | String | Llegeix. | Retorna el títol de rollover (/RC), o {@code null}. |
alternateCaption | String | Llegeix. | Retorna el subtitre alternatiu (“abaix”) (/AC), o {@code null}. |
pdfDictionary | PdfDictionary | Llegeix. | Retorna el diccionari subjacent {@code /MK}, creant-lo a petició. |
Mètodes
| Signature | Descripció |
|---|---|
AppearanceCharacteristics(owner: PdfDictionary) | |
getBackground() → Color | Retorna el fons. |
setBackground(color: Color) | Estableix el valor de fons. |
getBorder() → Color | Torna a la frontera. |
setBorder(color: Color) | Estableix el valor del contorn. |
getRotate() → int | Retorna la rotació en graus (0, 90, 180 o 270). |
setRotate(rotate: int) | Estableix la rotació. |
getCaption() → String | Retorna el títol normal (/CA), o {@code null} si no està establert. |
setCaption(caption: String) | Estableix el valor del títol. |
getRolloverCaption() → String | Retorna el títol de rollover (/RC), o {@code null}. |
setRolloverCaption(caption: String) | Estableix el valor del subtítol de sobrevol. |
getAlternateCaption() → String | Retorna el subtitre alternatiu (“abaix”) (/AC), o {@code null}. |
setAlternateCaption(caption: String) | Estableix el valor del títol alternatiu. |
getPdfDictionary() → PdfDictionary | Retorna el diccionari subjacent {@code /MK}, creant-lo a petició. |