Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class ColorScale

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

public class ColorScale
extends java.lang.Object

Describes the ColorScale conditional formatting rule. This conditional formatting rule creates a gradated color scale on the cells.


Method Summary
 CFValueObject getMaxCfvo()
          Gets the max value object.
 Color getMaxColor()
          Gets the max value object's corresponding color.
 CFValueObject getMidCfvo()
          Gets this ColorScale's mid value object.
 Color getMidColor()
          Gets the mid value object's corresponding color.
 CFValueObject getMinCfvo()
          Gets this ColorScale's min value object.
 Color getMinColor()
          Gets the min value object's corresponding color.
 void setMaxCfvo(CFValueObject cfvo)
          Sets the max value object.
 void setMaxColor(Color color)
          Sets the max value object's corresponding color.
 void setMidCfvo(CFValueObject cfvo)
          Sets the mid value object.
 void setMidColor(Color color)
          Sets the mid value object's corresponding color.
 void setMinCfvo(CFValueObject cfvo)
          Sets the min value object.
 void setMinColor(Color color)
          Sets the min value object's corresponding color.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMinCfvo

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


setMinCfvo

public void setMinCfvo(CFValueObject cfvo)
                throws java.lang.IllegalArgumentException
Sets the min value object.

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

getMidCfvo

public CFValueObject getMidCfvo()
Gets this ColorScale's mid value object.


setMidCfvo

public void setMidCfvo(CFValueObject cfvo)
                throws java.lang.IllegalArgumentException
Sets the mid value object.

Parameters:
cfvo -
Throws:
java.lang.IllegalArgumentException - when parameter with type FormatConditionValueType.Max or FormatConditionValueType.Min is set

getMaxCfvo

public CFValueObject getMaxCfvo()
Gets the max value object.


setMaxCfvo

public void setMaxCfvo(CFValueObject cfvo)
                throws java.lang.IllegalArgumentException
Sets the max value object.

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

getMinColor

public Color getMinColor()
Gets the min value object's corresponding color.


setMinColor

public void setMinColor(Color color)
Sets the min value object's corresponding color.

Parameters:
color -

getMidColor

public Color getMidColor()
Gets the mid value object's corresponding color.


setMidColor

public void setMidColor(Color color)
Sets the mid value object's corresponding color.

Parameters:
color -

getMaxColor

public Color getMaxColor()
Gets the max value object's corresponding color.


setMaxColor

public void setMaxColor(Color color)
Sets the max value object's corresponding color.

Parameters:
color -