public interface ISlicer
IWorkbook.| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes the slicer and removes it from the associated
ISlicers
collection. |
void |
fromJson(java.lang.String json)
Updates the slicer settings from the json string.
|
java.lang.String |
getCaption()
Gets the caption of the specified slicer.
|
boolean |
getDisplayHeader()
Gets whether the header that displays the slicer's caption is visible.
|
double |
getHeight()
Gets the height of the specified slicer, in points.
|
double |
getLeft()
Gets the horizontal position of the specified slicer, in points, relative to
the upper-left corner of cell A1 on a worksheet.
|
java.lang.String |
getName()
Gets the name of the specified slicer.
|
int |
getNumberOfColumns()
Gets the number of columns in the specified slicer.
|
double |
getRowHeight()
Gets the height, in points, of each row in the specified slicer.
|
IShape |
getShape()
Gets the
IShape object associated with the specified slicer. |
ISlicerCache |
getSlicerCache()
Gets the
ISlicerCache object associated with the slicer. |
ITableStyle |
getStyle()
Gets the style currently applied to the specified slicer.
|
double |
getTop()
Gets the vertical position of the specified slicer, in points, relative to
the upper-left corner of cell A1 on a worksheet.
|
double |
getWidth()
Gets the width of the specified slicer, in points.
|
void |
setCaption(java.lang.String value)
Sets the caption of the specified slicer.
|
void |
setDisplayHeader(boolean value)
Sets whether the header that displays the slicer's caption is visible.
|
void |
setHeight(double value)
Sets the height of the specified slicer, in points.
|
void |
setLeft(double value)
Sets the horizontal position of the specified slicer, in points, relative to
the upper-left corner of cell A1 on a worksheet.
|
void |
setName(java.lang.String value)
Sets the name of the specified slicer.
|
void |
setNumberOfColumns(int value)
Sets the number of columns in the specified slicer.
|
void |
setRowHeight(double value)
Sets the height, in points, of each row in the specified slicer.
|
void |
setStyle(ITableStyle value)
Sets the style currently applied to the specified slicer.
|
void |
setTop(double value)
Sets the vertical position of the specified slicer, in points, relative to
the upper-left corner of cell A1 on a worksheet.
|
void |
setWidth(double value)
Sets the width of the specified slicer, in points.
|
java.lang.String |
toJson()
Generates a json string from slicer.
|
java.lang.String getCaption()
void setCaption(java.lang.String value)
boolean getDisplayHeader()
void setDisplayHeader(boolean value)
double getHeight()
void setHeight(double value)
double getLeft()
void setLeft(double value)
java.lang.String getName()
void setName(java.lang.String value)
int getNumberOfColumns()
void setNumberOfColumns(int value)
double getRowHeight()
void setRowHeight(double value)
ISlicerCache getSlicerCache()
ISlicerCache object associated with the slicer.double getTop()
void setTop(double value)
double getWidth()
void setWidth(double value)
void delete()
ISlicers
collection.ITableStyle getStyle()
void setStyle(ITableStyle value)
void fromJson(java.lang.String json)
json - the json string contains a slicerjava.lang.String toJson()