FormatCondition
Panoramica
FormatCondition è una classe in Aspose.Cells FOSS per Java.
Rappresenta una regola di formattazione condizionale.
Questa classe fornisce 55 metodi per lavorare con oggetti FormatCondition nei programmi Java. I metodi disponibili includono: getAbove, getBarColor, getBarLength, getColorScaleCount, getDirection, getDuplicate, getFormula, getFormula1, getFormula2, getIconSetType, getMaxColor, getMidColor, e 43 metodi aggiuntivi. Tutti i membri esportati sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.Cells FOSS per Java. Proprietà: above, barColor, barLength, colorScaleCount, direction, duplicate, e 21 altre.
Descrizione
FormatCondition è una classe nella libreria FOSS Aspose.Cells per Java che espone 55 metodi e 27 proprietà per l’uso programmatico.
Le capacità principali includono: formatconditiontype; operatortype; string. Queste operazioni consentono agli sviluppatori di integrare la funzionalità formatcondition direttamente nelle applicazioni Java.
La classe fornisce anche la proprietà type (restituisce il tipo), la proprietà operator (restituisce l’operatore), la proprietà formula1 (restituisce la formula 1).
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
type | FormatConditionType | Lettura | Restituisce il tipo. |
operator | OperatorType | Lettura | Restituisce l’operatore. |
formula1 | String | Lettura | Restituisce la formula 1. |
formula2 | String | Lettura | Restituisce la formula 2. |
formula | String | Lettura | Restituisce la formula. |
timePeriod | String | Lettura | Restituisce il periodo di tempo. |
duplicate | boolean | Lettura | Restituisce il duplicato. |
top | boolean | Lettura | Restituisce la parte superiore. |
percent | boolean | Lettura | Restituisce la percentuale. |
rank | int | Lettura | Restituisce il rango. |
above | boolean | Lettura | Restituisce quanto sopra. |
standardDeviation | int | Lettura | Restituisce la deviazione standard. |
colorScaleCount | int | Lettura | Restituisce il conteggio della scala di colori. |
minColor | Color | Lettura | Restituisce il colore minimo. |
midColor | Color | Lettura | Restituisce il colore medio. |
maxColor | Color | Lettura | Restituisce il colore massimo. |
barColor | Color | Lettura | Restituisce il colore della barra. |
negativeBarColor | Color | Lettura | Restituisce il colore della barra negativa. |
showBorder | boolean | Lettura | Restituisce la visualizzazione del bordo. |
direction | String | Lettura | Restituisce la direzione. |
barLength | String | Lettura | Restituisce la lunghezza della barra. |
iconSetType | String | Lettura | Restituisce il tipo di set di icone. |
reverseIcons | boolean | Lettura | Restituisce le icone invertite. |
showIconOnly | boolean | Lettura | Restituisce solo l’icona di visualizzazione. |
priority | int | Lettura | Restituisce la priorità. |
stopIfTrue | boolean | Lettura | Restituisce lo stop se vero. |
style | Style | Lettura | Restituisce lo stile. |
Metodi
| Firma | Descrizione |
|---|---|
getType() → FormatConditionType | Restituisce il tipo. |
setType(type: FormatConditionType) | Imposta il tipo. |
getOperator() → OperatorType | Restituisce l’operatore. |
setOperator(operator: OperatorType) | Imposta l’operatore. |
getFormula1() → String | Restituisce la formula 1. |
setFormula1(value: String) | Imposta la formula 1. |
getFormula2() → String | Restituisce la formula 2. |
setFormula2(value: String) | Imposta la formula 2. |
getFormula() → String | Restituisce la formula. |
setFormula(value: String) | Imposta la formula. |
getTimePeriod() → String | Restituisce il periodo di tempo. |
setTimePeriod(value: String) | Imposta il periodo di tempo. |
getDuplicate() → boolean | Restituisce il duplicato. |
setDuplicate(duplicate: boolean) | Imposta il duplicato. |
getTop() → boolean | Restituisce la parte superiore. |
setTop(top: boolean) | Imposta la parte superiore. |
getPercent() → boolean | Restituisce la percentuale. |
setPercent(percent: boolean) | Imposta la percentuale. |
getRank() → int | Restituisce il rango. |
setRank(rank: int) | Imposta il rango. |
getAbove() → boolean | Restituisce quanto sopra. |
setAbove(above: boolean) | Imposta quanto sopra. |
getStandardDeviation() → int | Restituisce la deviazione standard. |
setStandardDeviation(standardDeviation: int) | Imposta la deviazione standard. |
getColorScaleCount() → int | Restituisce il conteggio della scala di colori. |
setColorScaleCount(colorScaleCount: int) | Imposta il conteggio della scala di colori. |
getMinColor() → Color | Restituisce il colore minimo. |
setMinColor(value: Color) | Imposta il colore minimo. |
getMidColor() → Color | Restituisce il colore medio. |
setMidColor(value: Color) | Imposta il colore medio. |
getMaxColor() → Color | Restituisce il colore massimo. |
setMaxColor(value: Color) | Imposta il colore massimo. |
getBarColor() → Color | Restituisce il colore della barra. |
setBarColor(value: Color) | Imposta il colore della barra. |
getNegativeBarColor() → Color | Restituisce il colore della barra negativa. |
setNegativeBarColor(value: Color) | Imposta il colore della barra negativa. |
getShowBorder() → boolean | Restituisce il bordo da visualizzare. |
setShowBorder(showBorder: boolean) | Imposta la visualizzazione del bordo. |
getDirection() → String | Restituisce la direzione. |
setDirection(value: String) | Imposta la direzione. |
getBarLength() → String | Restituisce la lunghezza della barra. |
setBarLength(value: String) | Imposta la lunghezza della barra. |
getIconSetType() → String | Restituisce il tipo di set di icone. |
setIconSetType(value: String) | Imposta il tipo di set di icone. |
getReverseIcons() → boolean | Restituisce le icone invertite. |
setReverseIcons(reverseIcons: boolean) | Imposta le icone invertite. |
getShowIconOnly() → boolean | Restituisce solo l’icona di visualizzazione. |
setShowIconOnly(showIconOnly: boolean) | Imposta solo la visualizzazione dell’icona. |
getPriority() → int | Restituisce la priorità. |
setPriority(priority: int) | Imposta la priorità. |
getStopIfTrue() → boolean | Restituisce lo stop se vero. |
setStopIfTrue(stopIfTrue: boolean) | Imposta l’arresto se vero. |
getStyle() → Style | Restituisce lo stile. |
setStyle(value: Style) | Imposta lo stile. |
remove() | Rimuove il contenuto richiesto. |