Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class DataBar

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

public class DataBar
extends java.lang.Object

Describes the DataBar conditional formatting rule. This conditional formatting rule displays a gradated data bar in the range of cells.


Method Summary
 Color getColor()
          Gets this DataBar's Color.
 CFValueObject getMaxCfvo()
          Gets this DataBar's max value object.
 CFValueObject getMinCfvo()
          Gets this DataBar's min value object.
 boolean isShowValue()
          Gets the flag indicating whether to show the values of the cells on which this data bar is applied.
 void setColor(Color color)
          Sets this DataBar's Color.
 void setMaxCfvo(CFValueObject cfvo)
          Sets this DataBar's max value object.
 void setMinCfvo(CFValueObject cfvo)
          Sets this DataBar's min value object.
 void setShowValue(boolean b)
          Sets the flag indicating whether to show the values of the cells on which this data bar is applied.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMinCfvo

public CFValueObject getMinCfvo()
Gets this DataBar's min value object.


setMinCfvo

public void setMinCfvo(CFValueObject cfvo)
                throws java.lang.IllegalArgumentException
Sets this DataBar's min value object.

Parameters:
cfvo -
Throws:
java.lang.IllegalArgumentException - if null or CFValueObject with type FormatConditionValueType.Max is set.

getMaxCfvo

public CFValueObject getMaxCfvo()
Gets this DataBar's max value object.


setMaxCfvo

public void setMaxCfvo(CFValueObject cfvo)
                throws java.lang.IllegalArgumentException
Sets this DataBar's max value object.

Parameters:
cfvo -
Throws:
java.lang.IllegalArgumentException - if null or CFValueObject with type FormatConditionValueType.Min is set.

getColor

public Color getColor()
Gets this DataBar's Color.


setColor

public void setColor(Color color)
Sets this DataBar's Color.

Parameters:
color -

isShowValue

public boolean isShowValue()
Gets the flag indicating whether to show the values of the cells on which this data bar is applied. Default value is true.


setShowValue

public void setShowValue(boolean b)
Sets the flag indicating whether to show the values of the cells on which this data bar is applied. Default value is true.

Parameters:
b -