com.aspose.cells
Class Slicer

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

public class Slicer 
extends java.lang.Object

summary description of Slicer View


Property Getters/Setters Summary
java.lang.StringgetAlternativeText()
voidsetAlternativeText(java.lang.String value)
           Returns or sets the descriptive (alternative) text string of the Slicer object.
java.lang.StringgetCaption()
voidsetCaption(java.lang.String value)
           Returns or sets the caption of the specified slicer.
booleangetCaptionVisible()
voidsetCaptionVisible(boolean value)
           Returns or sets whether the header that displays the slicer Caption is visible the default value is true
doublegetColumnWidth()
voidsetColumnWidth(double value)
           Returns or sets the width, in points, of each column in the slicer.
intgetColumnWidthPixel()
voidsetColumnWidthPixel(int value)
           Gets or sets the width in unit of pixels for each column of the slicer. 
doublegetHeight()
voidsetHeight(double value)
           Returns or sets the height of the specified slicer, in points.
intgetHeightPixel()
voidsetHeightPixel(int value)
           Returns or sets the height of the specified slicer, in pixels.
booleanisLocked()
voidsetLocked(boolean value)
           Indicates whether the slicer shape is locked.
booleanisPrintable()
voidsetPrintable(boolean value)
           Indicates whether the slicer object is printable.
intgetLeftPixel()
voidsetLeftPixel(int value)
           Returns or sets the horizontal offset of slicer shape from its left column, in pixels.
booleangetLockedAspectRatio()
voidsetLockedAspectRatio(boolean value)
           Indicates whether locking aspect ratio.
booleangetLockedPosition()
voidsetLockedPosition(boolean value)
           Indicates whether the specified slicer can be moved or resized by using the user interface.
java.lang.StringgetName()
voidsetName(java.lang.String value)
           Returns or sets the name of the specified slicer
intgetNumberOfColumns()
voidsetNumberOfColumns(int value)
           Returns or sets the number of columns in the specified slicer.
WorksheetgetParent()
           Returns the Worksheet object that represents the sheet that contains the slicer. Read-only.
intgetPlacement()
voidsetPlacement(int value)
           Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant.
doublegetRowHeight()
voidsetRowHeight(double value)
           Returns or sets the height, in points, of each row in the specified slicer.
intgetRowHeightPixel()
voidsetRowHeightPixel(int value)
           Returns or sets the height, in pixels, of each row in the specified slicer.
SlicerCachegetSlicerCache()
           Returns the SlicerCache object associated with the slicer. Read-only.
intgetStyleType()
voidsetStyleType(int value)
           Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant.
java.lang.StringgetTitle()
voidsetTitle(java.lang.String value)
           Specifies the title of the current Slicer object.
intgetTopPixel()
voidsetTopPixel(int value)
           Returns or sets the vertical offset of slicer shape from its top row, in pixels.
doublegetWidth()
voidsetWidth(double value)
           Returns or sets the width of the specified slicer, in points.
intgetWidthPixel()
voidsetWidthPixel(int value)
           Returns or sets the width of the specified slicer, in pixels.
 
Method Summary
voidrefresh()
           Refreshing the slicer.Meanwhile, Refreshing and Calculating relative PivotTables.
 

Property Getters/Setters Detail

getTitle/setTitle

public java.lang.String getTitle() / public void setTitle(java.lang.String value)
Specifies the title of the current Slicer object.

setTitle

public void setTitle(java.lang.String value)
Specifies the title of the current Slicer object.

getAlternativeText/setAlternativeText

public java.lang.String getAlternativeText() / public void setAlternativeText(java.lang.String value)
Returns or sets the descriptive (alternative) text string of the Slicer object.

setAlternativeText

public void setAlternativeText(java.lang.String value)
Returns or sets the descriptive (alternative) text string of the Slicer object.

isPrintable/setPrintable

public boolean isPrintable() / public void setPrintable(boolean value)
Indicates whether the slicer object is printable.

setPrintable

public void setPrintable(boolean value)
Indicates whether the slicer object is printable.

isLocked/setLocked

public boolean isLocked() / public void setLocked(boolean value)
Indicates whether the slicer shape is locked.

setLocked

public void setLocked(boolean value)
Indicates whether the slicer shape is locked.

getPlacement/setPlacement

public int getPlacement() / public void setPlacement(int value)
Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant.

setPlacement

public void setPlacement(int value)
Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. The value of the property is PlacementType integer constant.

getLockedAspectRatio/setLockedAspectRatio

public boolean getLockedAspectRatio() / public void setLockedAspectRatio(boolean value)
Indicates whether locking aspect ratio.

setLockedAspectRatio

public void setLockedAspectRatio(boolean value)
Indicates whether locking aspect ratio.

getLockedPosition/setLockedPosition

public boolean getLockedPosition() / public void setLockedPosition(boolean value)
Indicates whether the specified slicer can be moved or resized by using the user interface.

setLockedPosition

public void setLockedPosition(boolean value)
Indicates whether the specified slicer can be moved or resized by using the user interface.

getSlicerCache

public SlicerCache getSlicerCache()
Returns the SlicerCache object associated with the slicer. Read-only.

getParent

public Worksheet getParent()
Returns the Worksheet object that represents the sheet that contains the slicer. Read-only.

getStyleType/setStyleType

public int getStyleType() / public void setStyleType(int value)
Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant.

setStyleType

public void setStyleType(int value)
Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant.

getName/setName

public java.lang.String getName() / public void setName(java.lang.String value)
Returns or sets the name of the specified slicer

setName

public void setName(java.lang.String value)
Returns or sets the name of the specified slicer

getCaption/setCaption

public java.lang.String getCaption() / public void setCaption(java.lang.String value)
Returns or sets the caption of the specified slicer.

setCaption

public void setCaption(java.lang.String value)
Returns or sets the caption of the specified slicer.

getCaptionVisible/setCaptionVisible

public boolean getCaptionVisible() / public void setCaptionVisible(boolean value)
Returns or sets whether the header that displays the slicer Caption is visible the default value is true

setCaptionVisible

public void setCaptionVisible(boolean value)
Returns or sets whether the header that displays the slicer Caption is visible the default value is true

getNumberOfColumns/setNumberOfColumns

public int getNumberOfColumns() / public void setNumberOfColumns(int value)
Returns or sets the number of columns in the specified slicer.

setNumberOfColumns

public void setNumberOfColumns(int value)
Returns or sets the number of columns in the specified slicer.

getLeftPixel/setLeftPixel

public int getLeftPixel() / public void setLeftPixel(int value)
Returns or sets the horizontal offset of slicer shape from its left column, in pixels.

setLeftPixel

public void setLeftPixel(int value)
Returns or sets the horizontal offset of slicer shape from its left column, in pixels.

getTopPixel/setTopPixel

public int getTopPixel() / public void setTopPixel(int value)
Returns or sets the vertical offset of slicer shape from its top row, in pixels.

setTopPixel

public void setTopPixel(int value)
Returns or sets the vertical offset of slicer shape from its top row, in pixels.

getWidth/setWidth

public double getWidth() / public void setWidth(double value)
Returns or sets the width of the specified slicer, in points.

setWidth

public void setWidth(double value)
Returns or sets the width of the specified slicer, in points.

getWidthPixel/setWidthPixel

public int getWidthPixel() / public void setWidthPixel(int value)
Returns or sets the width of the specified slicer, in pixels.

setWidthPixel

public void setWidthPixel(int value)
Returns or sets the width of the specified slicer, in pixels.

getHeight/setHeight

public double getHeight() / public void setHeight(double value)
Returns or sets the height of the specified slicer, in points.

setHeight

public void setHeight(double value)
Returns or sets the height of the specified slicer, in points.

getHeightPixel/setHeightPixel

public int getHeightPixel() / public void setHeightPixel(int value)
Returns or sets the height of the specified slicer, in pixels.

setHeightPixel

public void setHeightPixel(int value)
Returns or sets the height of the specified slicer, in pixels.

getColumnWidthPixel/setColumnWidthPixel

public int getColumnWidthPixel() / public void setColumnWidthPixel(int value)
Gets or sets the width in unit of pixels for each column of the slicer. 

setColumnWidthPixel

public void setColumnWidthPixel(int value)
Gets or sets the width in unit of pixels for each column of the slicer. 

getColumnWidth/setColumnWidth

public double getColumnWidth() / public void setColumnWidth(double value)
Returns or sets the width, in points, of each column in the slicer.

setColumnWidth

public void setColumnWidth(double value)
Returns or sets the width, in points, of each column in the slicer.

getRowHeightPixel/setRowHeightPixel

public int getRowHeightPixel() / public void setRowHeightPixel(int value)
Returns or sets the height, in pixels, of each row in the specified slicer.

setRowHeightPixel

public void setRowHeightPixel(int value)
Returns or sets the height, in pixels, of each row in the specified slicer.

getRowHeight/setRowHeight

public double getRowHeight() / public void setRowHeight(double value)
Returns or sets the height, in points, of each row in the specified slicer.

setRowHeight

public void setRowHeight(double value)
Returns or sets the height, in points, of each row in the specified slicer.

Method Detail

refresh

public void refresh()
            throws java.lang.Exception
Refreshing the slicer.Meanwhile, Refreshing and Calculating relative PivotTables.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.