java.lang.Object
com.aspose.cells.Slicer
public class Slicer
| Property Getters/Setters Summary | ||
|---|---|---|
java.lang.String | getAlternativeText() | |
void | setAlternativeText(java.lang.String) | |
| Returns or sets the descriptive (alternative) text string of the Slicer object. | ||
java.lang.String | getCaption() | |
void | setCaption(java.lang.String) | |
| Returns or sets the caption of the specified slicer. | ||
boolean | getCaptionVisible() | |
void | setCaptionVisible(boolean) | |
| Returns or sets whether the header that displays the slicer Caption is visible the default value is true | ||
double | getColumnWidth() | |
void | setColumnWidth(double) | |
| Returns or sets the width, in points, of each column in the slicer. | ||
int | getColumnWidthPixel() | |
void | setColumnWidthPixel(int) | |
| Gets or sets the width in unit of pixels for each column of the slicer. | ||
double | getHeight() | |
void | setHeight(double) | |
| Returns or sets the height of the specified slicer, in points. | ||
int | getHeightPixel() | |
void | setHeightPixel(int) | |
| Returns or sets the height of the specified slicer, in pixels. | ||
boolean | isLocked() | |
void | setLocked(boolean) | |
| Indicates whether the slicer shape is locked. | ||
boolean | isPrintable() | |
void | setPrintable(boolean) | |
| Indicates whether the slicer object is printable. | ||
int | getLeftPixel() | |
void | setLeftPixel(int) | |
| Returns or sets the horizontal offset of slicer shape from its left column, in pixels. | ||
boolean | getLockedAspectRatio() | |
void | setLockedAspectRatio(boolean) | |
| Indicates whether locking aspect ratio. | ||
boolean | getLockedPosition() | |
void | setLockedPosition(boolean) | |
| Indicates whether the specified slicer can be moved or resized by using the user interface. | ||
java.lang.String | getName() | |
void | setName(java.lang.String) | |
| Returns or sets the name of the specified slicer | ||
int | getNumberOfColumns() | |
void | setNumberOfColumns(int) | |
| Returns or sets the number of columns in the specified slicer. | ||
Worksheet | getParent() | |
| Returns the Worksheet object that represents the sheet that contains the slicer. Read-only. | ||
int | getPlacement() | |
void | setPlacement(int) | |
| 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. | ||
double | getRowHeight() | |
void | setRowHeight(double) | |
| Returns or sets the height, in points, of each row in the specified slicer. | ||
int | getRowHeightPixel() | |
void | setRowHeightPixel(int) | |
| Returns or sets the height, in pixels, of each row in the specified slicer. | ||
SlicerCache | getSlicerCache() | |
| Returns the SlicerCache object associated with the slicer. Read-only. | ||
int | getStyleType() | |
void | setStyleType(int) | |
| Specify the type of Built-in slicer style the default type is SlicerStyleLight1 The value of the property is SlicerStyleType integer constant. | ||
java.lang.String | getTitle() | |
void | setTitle(java.lang.String) | |
| Specifies the title of the current Slicer object. | ||
int | getTopPixel() | |
void | setTopPixel(int) | |
| Returns or sets the vertical offset of slicer shape from its top row, in pixels. | ||
double | getWidth() | |
void | setWidth(double) | |
| Returns or sets the width of the specified slicer, in points. | ||
int | getWidthPixel() | |
void | setWidthPixel(int) | |
| Returns or sets the width of the specified slicer, in pixels. | ||
| Method Summary | ||
|---|---|---|
void | addPivotConnection(PivotTable pivot) | |
| Adds PivotTable connection. | ||
void | refresh() | |
| Refreshing the slicer.Meanwhile, Refreshing and Calculating relative PivotTables. | ||
void | removePivotConnection(PivotTable pivot) | |
| Removes PivotTable connection. | ||
| Property Getters/Setters Detail |
|---|
getTitle/setTitle | |
public java.lang.String getTitle() / public void setTitle(java.lang.String value) | |
getAlternativeText/setAlternativeText | |
public java.lang.String getAlternativeText() / public void setAlternativeText(java.lang.String value) | |
isPrintable/setPrintable | |
public boolean isPrintable() / public void setPrintable(boolean value) | |
isLocked/setLocked | |
public boolean isLocked() / public void setLocked(boolean value) | |
getPlacement/setPlacement | |
public int getPlacement() / public void setPlacement(int value) | |
getLockedAspectRatio/setLockedAspectRatio | |
public boolean getLockedAspectRatio() / public void setLockedAspectRatio(boolean value) | |
getLockedPosition/setLockedPosition | |
public boolean getLockedPosition() / public void setLockedPosition(boolean value) | |
getSlicerCache | |
public SlicerCache getSlicerCache() | |
getParent | |
public Worksheet getParent() | |
getStyleType/setStyleType | |
public int getStyleType() / public void setStyleType(int value) | |
getName/setName | |
public java.lang.String getName() / public void setName(java.lang.String value) | |
getCaption/setCaption | |
public java.lang.String getCaption() / public void setCaption(java.lang.String value) | |
getCaptionVisible/setCaptionVisible | |
public boolean getCaptionVisible() / public void setCaptionVisible(boolean value) | |
getNumberOfColumns/setNumberOfColumns | |
public int getNumberOfColumns() / public void setNumberOfColumns(int value) | |
getLeftPixel/setLeftPixel | |
public int getLeftPixel() / public void setLeftPixel(int value) | |
getTopPixel/setTopPixel | |
public int getTopPixel() / public void setTopPixel(int value) | |
getWidth/setWidth | |
public double getWidth() / public void setWidth(double value) | |
getWidthPixel/setWidthPixel | |
public int getWidthPixel() / public void setWidthPixel(int value) | |
getHeight/setHeight | |
public double getHeight() / public void setHeight(double value) | |
getHeightPixel/setHeightPixel | |
public int getHeightPixel() / public void setHeightPixel(int value) | |
getColumnWidthPixel/setColumnWidthPixel | |
public int getColumnWidthPixel() / public void setColumnWidthPixel(int value) | |
getColumnWidth/setColumnWidth | |
public double getColumnWidth() / public void setColumnWidth(double value) | |
getRowHeightPixel/setRowHeightPixel | |
public int getRowHeightPixel() / public void setRowHeightPixel(int value) | |
getRowHeight/setRowHeight | |
public double getRowHeight() / public void setRowHeight(double value) | |
| Method Detail |
|---|
addPivotConnection | |
public void addPivotConnection(PivotTable pivot) | |
pivot - The PivotTable objectremovePivotConnection | |
public void removePivotConnection(PivotTable pivot) | |
pivot - The PivotTable objectrefresh | |
public void refresh()
throws java.lang.Exception | |