Package | com.flexmonster.pivot.vo |
Class | public class ConditionValueObject |
Inheritance | ConditionValueObject ![]() |
Property | Defined By | ||
---|---|---|---|
column : int = -1
Column index to which the condition should be applied. | ConditionValueObject | ||
falseStyle : StyleValueObject
StyleValueObject object. | ConditionValueObject | ||
formula : String
IF statement with 3 arguments: IF(CONDITION, TRUE STYLE, FALSE STYLE), where the false style is optional. | ConditionValueObject | ||
hierarchy : String
Hierarchy unique name to which the condition should be applied. | ConditionValueObject | ||
id : String
Id of the conditional formatting rule. | ConditionValueObject | ||
isTotal : int = -1
If it is -1 (not defined) — the condition is applied for all cells. | ConditionValueObject | ||
measure : String
Measure unique name to which the condition should be applied. | ConditionValueObject | ||
member : String
Hierarchy's member unique name to which the condition should be applied. | ConditionValueObject | ||
row : int = -1
Row index to which the condition should be applied. | ConditionValueObject | ||
trueStyle : StyleValueObject
StyleValueObject object that will be applied to a cell if the condition for the cell value is met. | ConditionValueObject |
Method | Defined By | ||
---|---|---|---|
ConditionValueObject(formula:String, trueStyle:StyleValueObject)
Constructor for ConditionValueObject class
| ConditionValueObject | ||
fromObject(object:Object):ConditionValueObject [static]
Convert object to ConditionValueObject class
| ConditionValueObject | ||
toObject():Object
Convert ConditionValueObject to Object
| ConditionValueObject |
column | property |
public var column:int = -1
Column index to which the condition should be applied.
falseStyle | property |
public var falseStyle:StyleValueObject
StyleValueObject object. If it is set it will be applied to a cell if the condition for the cell value is not met.
See also
formula | property |
public var formula:String
IF statement with 3 arguments: IF(CONDITION, TRUE STYLE, FALSE STYLE), where the false style is optional. Condition can contain AND, OR, ==, !=, >, <, >=, <=, +, -, /. #value is used to address the cell value in condition. Example: if(#value > 2, "trueStyle", "falseStyle").
hierarchy | property |
public var hierarchy:String
Hierarchy unique name to which the condition should be applied.
id | property |
public var id:String
Id of the conditional formatting rule. If id properties is not set, the id for the rule will be set inside Pivot component.
isTotal | property |
public var isTotal:int = -1
If it is -1 (not defined) — the condition is applied for all cells. If it is 0 (false) — the condition is applied to regular cells only. If it is 1 (true) — the condition will be applied to totals and sub-totals cells only.
measure | property |
public var measure:String
Measure unique name to which the condition should be applied.
member | property |
public var member:String
Hierarchy's member unique name to which the condition should be applied.
row | property |
public var row:int = -1
Row index to which the condition should be applied.
trueStyle | property |
public var trueStyle:StyleValueObject
StyleValueObject object that will be applied to a cell if the condition for the cell value is met.
See also
ConditionValueObject | () | Constructor |
public function ConditionValueObject(formula:String, trueStyle:StyleValueObject)
Constructor for ConditionValueObject class
Parametersformula:String — formula
| |
trueStyle:StyleValueObject — trueStyle
|
fromObject | () | method |
public static function fromObject(object:Object):ConditionValueObject
Convert object to ConditionValueObject class
Parameters
object:Object — object
|
ConditionValueObject — ConditionValueObject object
|
toObject | () | method |
public function toObject():Object
Convert ConditionValueObject to Object
ReturnsObject — object
|