Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class CFValueObject

java.lang.Object
  extended by com.aspose.cells.CFValueObject

public class CFValueObject
extends java.lang.Object

Describes the values of the interpolation points in a gradient scale, dataBar or iconSet.


Constructor Summary
CFValueObject(FormatCondition parent, byte type)
          Constructs a CFValueObject instance.
CFValueObject(FormatCondition parent, byte type, java.lang.Object value)
          Constructs a CFValueObject instance.
CFValueObject(FormatCondition parent, byte type, java.lang.Object value, boolean isGTE)
          Constructs a CFValueObject instance.
 
Method Summary
 byte getType()
          Gets the type of this conditional formatting value object.
 java.lang.Object getValue()
          Gets the value of this conditional formatting value object.
 boolean isGTE()
          Gets the Greater Than Or Equal To flag.
 void setIsGTE(boolean b)
          Sets the Greater Than Or Equal flag.
 void setType(byte type)
          Sets the type of this conditional formatting value object.
 void setValue(java.lang.Object obj)
          Sets the value of this conditional formatting value object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CFValueObject

public CFValueObject(FormatCondition parent,
                     byte type,
                     java.lang.Object value,
                     boolean isGTE)
Constructs a CFValueObject instance.

Parameters:
parent - the FormatCondition that this object is used for.
type - the type of the CFValueObject instance.
value - the value of the CFValueObject instance.
isGTE - the isGTE flag of the CFValueObject.
See Also:
FormatConditionValueType, setValue(Object)

CFValueObject

public CFValueObject(FormatCondition parent,
                     byte type,
                     java.lang.Object value)
Constructs a CFValueObject instance.

Parameters:
type - the type of the CFValueObject instance.
value - the value of the CFValueObject instance.
See Also:
FormatConditionValueType, setValue(Object)

CFValueObject

public CFValueObject(FormatCondition parent,
                     byte type)
Constructs a CFValueObject instance.

Parameters:
type - the type of the CFValueObject instance.
See Also:
FormatConditionValueType
Method Detail

getValue

public java.lang.Object getValue()
Gets the value of this conditional formatting value object. It should be used in conjunction with Type.

Returns:
value the value to be set to this value object.
See Also:
setValue(Object)

setValue

public void setValue(java.lang.Object obj)
Sets the value of this conditional formatting value object. It should be used in conjunction with Type.

Parameters:
obj - Can be null. If not null, corresponding with the type it can be a String that starts with "=" and represents a formula. Or it is an instance of Number, such as Double, Integer.

getType

public byte getType()
Gets the type of this conditional formatting value object.

See Also:
FormatConditionValueType

setType

public void setType(byte type)
Sets the type of this conditional formatting value object. Setting the type to FormatConditionValueType.Min or FormatConditionValueType.Max will auto-set "Value" to null.

Parameters:
type -
See Also:
FormatConditionValueType

isGTE

public boolean isGTE()
Gets the Greater Than Or Equal To flag. Use only for icon sets, determines whether this threshold value uses the greater than or equal to operator. 'false' indicates 'greater than' is used instead of 'greater than or equal to'. Default value is true.


setIsGTE

public void setIsGTE(boolean b)
Sets the Greater Than Or Equal flag. Use only for icon sets, determines whether this threshold value uses the greater than or equal to operator. 'false' indicates 'greater than' is used instead of 'greater than or equal to'.

Parameters:
b -