Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class RadioButton

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

public class RadioButton
extends Shape


Method Summary
 GroupBox getGroupBox()
          Gets the GroupBox that contains this RadioButton.
 java.util.Iterator<RadioButton> getGroupMemberIterator()
          Returns an iterator which can iterate all RadioButtons in the same group(GroupBox) with this one(includint this one).
 java.lang.String getLinkedCell()
          Gets the worksheet range linked to the control's value
 boolean isChecked()
          Indicates if the radiobutton is checked or not.
 boolean isShadow()
          Indicates whether the shape has 3-D shading.
 void setChecked(boolean checked)
          Sets if the radiobutton is checked or not.
 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

isChecked

public boolean isChecked()
Indicates if the radiobutton is checked or not.

Returns:
if the radiobutton is checked or not.

setChecked

public void setChecked(boolean checked)
Sets if the radiobutton is checked or not.

Parameters:
checked - if the radiobutton is checked or not.

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.

getGroupBox

public GroupBox getGroupBox()
Gets the GroupBox that contains this RadioButton.

Returns:
the GroupBox that contains this RadioButton. Returns null if this RadioButton is not in any GroupBox.

getGroupMemberIterator

public java.util.Iterator<RadioButton> getGroupMemberIterator()
Returns an iterator which can iterate all RadioButtons in the same group(GroupBox) with this one(includint this one).

Returns:
Iterator for all RadioButtons in the same group with this one.