Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class Spinner

java.lang.Object
  extended by com.aspose.cells.Shape
      extended by com.aspose.cells.Spinner
Direct Known Subclasses:
ScrollBar

public class Spinner
extends Shape


Method Summary
 int getCurrentValue()
          Gets the current value.
 int getIncrementalChange()
          Gets the amount that the scroll bar or spinner is incremented a line scroll.
 java.lang.String getLinkedCell()
          Gets the worksheet range linked to the control's value
 int getMaxValue()
          Gets the maximum value of a scroll bar or spinner range.
 int getMinValue()
          Gets the minimum value of a scroll bar or spinner range.
 boolean isShadow()
          Indicates whether the shape has 3-D shading.
 void setCurrentValue(int value)
          Sets the current value of a scroll bar or spinner.
 void setIncrementalChange(int value)
          Sets the amount that the scroll bar or spinner is incremented a line scroll.
 void setLinkedCell(java.lang.String formula)
          Sets the worksheet range linked to the control's value
 void setMaxValue(int value)
          Sets the maximum value of a scroll bar or spinner range.
 void setMinValue(int value)
          Sets the minimum value of a scroll bar or spinner range.
 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

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.

getCurrentValue

public int getCurrentValue()
Gets the current value.

Returns:
the current value.

setCurrentValue

public void setCurrentValue(int value)
Sets the current value of a scroll bar or spinner.

Parameters:
value - the current value of a scroll bar or spinner.

getMinValue

public int getMinValue()
Gets the minimum value of a scroll bar or spinner range.

Returns:
the minimum value of a scroll bar or spinner range.

setMinValue

public void setMinValue(int value)
Sets the minimum value of a scroll bar or spinner range.

Parameters:
value - the minimum value of a scroll bar or spinner range.

getMaxValue

public int getMaxValue()
Gets the maximum value of a scroll bar or spinner range.

Returns:
the maximum value of a scroll bar or spinner range.

setMaxValue

public void setMaxValue(int value)
Sets the maximum value of a scroll bar or spinner range.

Parameters:
value - the maximum value of a scroll bar or spinner range.

getIncrementalChange

public int getIncrementalChange()
Gets the amount that the scroll bar or spinner is incremented a line scroll.

Returns:
the amount that the scroll bar or spinner is incremented a line scroll.

setIncrementalChange

public void setIncrementalChange(int value)
Sets the amount that the scroll bar or spinner is incremented a line scroll.

Parameters:
value - the amount that the scroll bar or spinner is incremented a line scroll.