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.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. Read/write
doublegetHeight()
voidsetHeight(double value)
           Returns or sets the height of the specified slicer, in points. Read/write.
booleangetLockedPosition()
voidsetLockedPosition(boolean value)
           Returns or sets whether the specified slicer can be moved or resized by using the user interface. Read/write.
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. Read/write.
WorksheetgetParent()
           Returns the Worksheet object that represents the sheet that contains the slicer. Read-only.
doublegetRowHeight()
voidsetRowHeight(double value)
           Returns or sets the height, in points, of each row in the specified slicer. Read/write.
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.
doublegetWidth()
voidsetWidth(double value)
           Returns or sets the width of the specified slicer, in points. Read/write.
 
Method Summary
voidrefresh()
           Refreshing the slicer.Meanwhile, Refreshing and Calculating relative PivotTables.
 

Property Getters/Setters Detail

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

getLockedPosition/setLockedPosition

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

setLockedPosition

public void setLockedPosition(boolean value)
Returns or sets whether the specified slicer can be moved or resized by using the user interface. Read/write.

getNumberOfColumns/setNumberOfColumns

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

setNumberOfColumns

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

getWidth/setWidth

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

setWidth

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

getHeight/setHeight

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

setHeight

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

getColumnWidth/setColumnWidth

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

setColumnWidth

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

getRowHeight/setRowHeight

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

setRowHeight

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

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.