Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class CheckBox

java.lang.Object
  extended by com.aspose.cells.Shape
      extended by com.aspose.cells.CheckBox

public class CheckBox
extends Shape


Method Summary
 byte getCheckValue()
          Gets checkbox' value.
 java.lang.String getLinkedCell()
          Gets the worksheet range linked to the control's value
 boolean isShadow()
          Indicates whether the shape has 3-D shading.
 void setCheckValue(byte value)
          Sets checkbox' value.
 void setLinkedCell(java.lang.String formula)
          Sets the worksheet range linked to the control's value
 void setShadow(boolean flag)
          Sets whether the shape has 3-D shading.
 
Methods inherited from class com.aspose.cells.Shape
addHyperlink, getCharacters, getFill, getFont, getGroup, getHeight, getHeightCM, getHeightInch, getHeightInChart, getHyperlink, getLeft, getLeftCM, getLeftInch, getLeftInChart, getLine, getLowerRightColumn, getLowerRightRow, getName, getOrientation, getPlacement, getRotation, getText, getTextHorizontalAlignment, getTextVerticalAlignment, getTop, getTopCM, getTopInch, getTopInChart, getType, getUpperLeftColumn, getUpperLeftRow, getWidth, getWidthCM, getWidthInch, getWidthInChart, getZOrderPosition, hasLine, isFilled, isFlippedHorizontally, isFlippedVertically, isLockAspectRatio, isLocked, isPrintable, move, move, moveToCenter, setCharacters, setFilled, setFlippedHorizontally, setFlippedVertically, setFont, setHasLine, setHeight, setHeightCM, setHeightInch, setHeightInChart, setLeft, setLeftCM, setLeftInch, setLeftInChart, setLeftPosition, setLeftPositionInPixel, setLockAspectRatio, setLocked, setName, setOrientation, setPlacement, setPrintable, setRotation, setText, setTextHorizontalAlignment, setTextVerticalAlignment, setTop, setTopCM, setTopInch, setTopInChart, setTopPosition, setTopPositionInPixel, setUpperLeftColumn, setUpperLeftRow, setWidth, setWidthCM, setWidthInch, setWidthInChart
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLinkedCell

public java.lang.String getLinkedCell()
Gets the worksheet range linked to the control's value

Overrides:
getLinkedCell in class Shape
Returns:
the worksheet range linked to the control's value

setLinkedCell

public void setLinkedCell(java.lang.String formula)
Sets the worksheet range linked to the control's value

Overrides:
setLinkedCell in class Shape
Parameters:
formula - the worksheet range linked to the control's value

getCheckValue

public byte getCheckValue()
Gets checkbox' value.

Returns:
checkbox' value.
See Also:
setCheckValue(byte)

setCheckValue

public void setCheckValue(byte value)
Sets checkbox' value. The value could be one of the following values:
CheckValueType.UNCHECKED
CheckValueType.CHECKED
CheckValueType.MIXED

Parameters:
value - checkbox' value.

isShadow

public boolean isShadow()
Indicates whether the shape has 3-D shading.

Returns:
true if the shape has 3-D shading.

setShadow

public void setShadow(boolean flag)
Sets whether the shape has 3-D shading.

Parameters:
flag - true if the shape has 3-D shading.