FormatConditionModel
General
FormatConditionModel és una classe en FOSS per Java.
Representa un model de condició del format utilitzat en el formatge condicionat d’Excel.
Aquesta classe proporciona 52 mètodes per treballar amb objectes FormatConditionModel en programes Java. Els mètodes disponibles inclouen: getAbove, getBarColor, getBarLength, getColorScaleCount, getDirection, getDuplicate, getFormula1, getFormula2, getIconSetType, getMaxColor, getMidColor, getMinColor, i 40 mètodes addicionals. Tots els membres exportats són accessibles per a qualsevol aplicació Java després d’instal·lar el paquet FOSS for Java. Propietats: above, barColor, barLength, colorScaleCount, direction, duplicate, i 20 més.
Descripció
FormatConditionModel és una classe de la biblioteca FOSS per a Java que exposa 52 mètodes i 26 propietats per al seu ús programàtic.
Les capacitats bàsiques inclouen: formatconditiontype; operatortype; string.Aquestes operacions permeten als desenvolupadors integrar la funcionalitat del model de format condició directament en les aplicacions Java.
La classe també proporciona el type propietat (retorna el tipus), la operator propietat (retorna l’operador), el formula1 propietat (retorna la fórmula 1).
Propietats
| Nom | Tipus de productes | Access | Descripció |
|---|---|---|---|
type | FormatConditionType | Llegeix. | Retorna el tipus. |
operator | OperatorType | Llegeix. | Retorna l’operador. |
formula1 | String | Llegeix. | Retorna la fórmula 1. |
formula2 | String | Llegeix. | Retorna la fórmula 2. |
timePeriod | String | Llegeix. | Retorna el període de temps. |
duplicate | boolean | Llegeix. | Retorna el duplicat. |
top | boolean | Llegeix. | Retorna la part superior. |
percent | boolean | Llegeix. | Retorna el percentatge. |
rank | int | Llegeix. | Retorna el rang. |
above | boolean | Llegeix. | Retorna el que s’ha dit anteriorment. |
standardDeviation | int | Llegeix. | Retorna la desviació estàndard. |
colorScaleCount | int | Llegeix. | Retorna el recompte de l’escala del color. |
minColor | ColorValue | Llegeix. | Retorna el color min. |
midColor | ColorValue | Llegeix. | Retorna el color mitjà. |
maxColor | ColorValue | Llegeix. | Retorna el color màxim. |
barColor | ColorValue | Llegeix. | Retorna el color de la barra. |
negativeBarColor | ColorValue | Llegeix. | Retorna el color de la barra negativa. |
showBorder | boolean | Llegeix. | Retorna el límit de l’espectacle. |
direction | String | Llegeix. | Retorna la direcció. |
barLength | String | Llegeix. | Retorna la longitud de barra. |
iconSetType | String | Llegeix. | Retorna el tipus d’icona. |
reverseIcons | boolean | Llegeix. | Retorna les icones inverses. |
showIconOnly | boolean | Llegeix. | Retorna només l’icona de la mostra. |
priority | int | Llegeix. | Retorna la prioritat. |
stopIfTrue | boolean | Llegeix. | Retorna l’estació si és veritat. |
style | StyleValue | Llegeix. | Torna l’estil. |
Mètodes
| Signature | Descripció |
|---|---|
getType() → FormatConditionType | Retorna el tipus. |
setType(type: FormatConditionType) | Estableix el tipus. |
getOperator() → OperatorType | Retorna l’operador. |
setOperator(operator: OperatorType) | Estableix l’operador. |
getFormula1() → String | Retorna la fórmula 1. |
setFormula1(formula1: String) | Estableix la fórmula 1. |
getFormula2() → String | Retorna la fórmula 2. |
setFormula2(formula2: String) | Estableix la fórmula 2. |
getTimePeriod() → String | Retorna el període de temps. |
setTimePeriod(timePeriod: String) | Estableix el període de temps. |
getDuplicate() → boolean | Retorna el duplicat. |
setDuplicate(duplicate: boolean) | Estableix el duplicat. |
getTop() → boolean | Retorna la part superior. |
setTop(top: boolean) | Estableix la part superior. |
getPercent() → boolean | Retorna el percentatge. |
setPercent(percent: boolean) | Estableix el percentatge. |
getRank() → int | Retorna el rang. |
setRank(rank: int) | Estableix el rang. |
getAbove() → boolean | Retorna el que s’ha dit anteriorment. |
setAbove(above: boolean) | Estableix l’anterior. |
getStandardDeviation() → int | Retorna la desviació estàndard. |
setStandardDeviation(standardDeviation: int) | Estableix la desviació estàndard. |
getColorScaleCount() → int | Retorna el recompte de l’escala del color. |
setColorScaleCount(colorScaleCount: int) | Estableix el nombre d’escales de color. |
getMinColor() → ColorValue | Retorna el color min. |
setMinColor(minColor: ColorValue) | Estableix el color mínim. |
getMidColor() → ColorValue | Retorna el color mitjà. |
setMidColor(midColor: ColorValue) | Estableix el color mig. |
getMaxColor() → ColorValue | Retorna el color màxim. |
setMaxColor(maxColor: ColorValue) | Estableix el color màxim. |
getBarColor() → ColorValue | Retorna el color de la barra. |
setBarColor(barColor: ColorValue) | Estableix el color de la barra. |
getNegativeBarColor() → ColorValue | Retorna el color de la barra negativa. |
setNegativeBarColor(negativeBarColor: ColorValue) | Estableix el color de la barra negativa. |
getShowBorder() → boolean | Retorna el límit de l’espectacle. |
setShowBorder(showBorder: boolean) | Estableix el show border. |
getDirection() → String | Retorna la direcció. |
setDirection(direction: String) | Estableix la direcció. |
getBarLength() → String | Retorna la longitud de barra. |
setBarLength(barLength: String) | Estableix la longitud de la barra. |
getIconSetType() → String | Retorna el tipus d’icona. |
setIconSetType(iconSetType: String) | Estableix el tipus de conjunt d’icones. |
getReverseIcons() → boolean | Retorna les icones inverses. |
setReverseIcons(reverseIcons: boolean) | Estableix les icones inverses. |
getShowIconOnly() → boolean | Retorna només l’icona de la mostra. |
setShowIconOnly(showIconOnly: boolean) | Estableix només la icona de mostra. |
getPriority() → int | Retorna la prioritat. |
setPriority(priority: int) | Estableix la prioritat. |
getStopIfTrue() → boolean | Retorna l’estació si és veritat. |
setStopIfTrue(stopIfTrue: boolean) | Estableix stop si és cert. |
getStyle() → StyleValue | Torna l’estil. |
setStyle(style: StyleValue) | Estableix l’estil. |