public interface CellStyle
Modifier and Type | Field and Description |
---|---|
static short |
ALIGN_CENTER
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.CENTER instead. |
static short |
ALIGN_CENTER_SELECTION
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.CENTER_SELECTION instead. |
static short |
ALIGN_FILL
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.FILL instead. |
static short |
ALIGN_GENERAL
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.GENERAL instead. |
static short |
ALIGN_JUSTIFY
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.JUSTIFY instead. |
static short |
ALIGN_LEFT
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.LEFT instead. |
static short |
ALIGN_RIGHT
Deprecated.
POI 3.15 beta 3. Use
HorizontalAlignment.RIGHT instead. |
static short |
ALT_BARS
Deprecated.
3.15 beta 3. Use
FillPatternType.ALT_BARS instead. |
static short |
BIG_SPOTS
Deprecated.
3.15 beta 3. Use
FillPatternType.BIG_SPOTS instead. |
static short |
BORDER_DASH_DOT
Deprecated.
3.15 beta 2. Use
BorderStyle.DASH_DOT instead. |
static short |
BORDER_DASH_DOT_DOT
Deprecated.
3.15 beta 2. Use
BorderStyle.DASH_DOT_DOT instead. |
static short |
BORDER_DASHED
Deprecated.
3.15 beta 2. Use
BorderStyle.DASHED instead. |
static short |
BORDER_DOTTED
Deprecated.
3.15 beta 2. Use
BorderStyle.DOTTED instead. |
static short |
BORDER_DOUBLE
Deprecated.
3.15 beta 2. Use
BorderStyle.DOUBLE instead. |
static short |
BORDER_HAIR
Deprecated.
3.15 beta 2. Use
BorderStyle.HAIR instead. |
static short |
BORDER_MEDIUM
Deprecated.
3.15 beta 2. Use
BorderStyle.MEDIUM instead. |
static short |
BORDER_MEDIUM_DASH_DOT
Deprecated.
3.15 beta 2. Use
BorderStyle.MEDIUM_DASH_DOT instead. |
static short |
BORDER_MEDIUM_DASH_DOT_DOT
Deprecated.
3.15 beta 2. Use
BorderStyle.MEDIUM_DASH_DOT_DOT instead. |
static short |
BORDER_MEDIUM_DASHED
Deprecated.
3.15 beta 2. Use
BorderStyle.MEDIUM_DASHED instead. |
static short |
BORDER_NONE
Deprecated.
3.15 beta 2. Use
BorderStyle.NONE instead. |
static short |
BORDER_SLANTED_DASH_DOT
Deprecated.
3.15 beta 2. Use
BorderStyle.SLANTED_DASH_DOT instead. |
static short |
BORDER_THICK
Deprecated.
3.15 beta 2. Use
BorderStyle.THICK instead. |
static short |
BORDER_THIN
Deprecated.
3.15 beta 2. Use
BorderStyle.THIN instead. |
static short |
BRICKS
Deprecated.
3.15 beta 3. Use
FillPatternType.BRICKS instead. |
static short |
DIAMONDS
Deprecated.
3.15 beta 3. Use
FillPatternType.DIAMONDS instead. |
static short |
FINE_DOTS
Deprecated.
3.15 beta 3. Use
FillPatternType.FINE_DOTS instead. |
static short |
LEAST_DOTS
Deprecated.
3.15 beta 3. Use
FillPatternType.LEAST_DOTS instead. |
static short |
LESS_DOTS
Deprecated.
3.15 beta 3. Use
FillPatternType.LESS_DOTS instead. |
static short |
NO_FILL
Deprecated.
3.15 beta 3. Use
FillPatternType.NO_FILL instead. |
static short |
SOLID_FOREGROUND
Deprecated.
3.15 beta 3. Use
FillPatternType.SOLID_FOREGROUND instead. |
static short |
SPARSE_DOTS
Deprecated.
3.15 beta 3. Use
FillPatternType.SPARSE_DOTS instead. |
static short |
SQUARES
Deprecated.
3.15 beta 3. Use
FillPatternType.SQUARES instead. |
static short |
THICK_BACKWARD_DIAG
Deprecated.
3.15 beta 3. Use
FillPatternType.THICK_BACKWARD_DIAG instead. |
static short |
THICK_FORWARD_DIAG
Deprecated.
3.15 beta 3. Use
FillPatternType.THICK_FORWARD_DIAG instead. |
static short |
THICK_HORZ_BANDS
Deprecated.
3.15 beta 3. Use
FillPatternType.THICK_HORZ_BANDS instead. |
static short |
THICK_VERT_BANDS
Deprecated.
3.15 beta 3. Use
FillPatternType.THICK_VERT_BANDS instead. |
static short |
THIN_BACKWARD_DIAG
Deprecated.
3.15 beta 3. Use
FillPatternType.THIN_BACKWARD_DIAG instead. |
static short |
THIN_FORWARD_DIAG
Deprecated.
3.15 beta 3. Use
FillPatternType.THIN_FORWARD_DIAG instead. |
static short |
THIN_HORZ_BANDS
Deprecated.
3.15 beta 3. Use
FillPatternType.THIN_HORZ_BANDS instead. |
static short |
THIN_VERT_BANDS
Deprecated.
3.15 beta 3. Use
FillPatternType.THIN_VERT_BANDS instead. |
static short |
VERTICAL_BOTTOM
Deprecated.
POI 3.15 beta 3. Use
VerticalAlignment.BOTTOM instead. |
static short |
VERTICAL_CENTER
Deprecated.
POI 3.15 beta 3. Use
VerticalAlignment.CENTER instead. |
static short |
VERTICAL_JUSTIFY
Deprecated.
POI 3.15 beta 3. Use
VerticalAlignment.JUSTIFY instead. |
static short |
VERTICAL_TOP
Deprecated.
POI 3.15 beta 3. Use
VerticalAlignment.TOP instead. |
Modifier and Type | Method and Description |
---|---|
void |
cloneStyleFrom(CellStyle source)
Clones all the style information from another
CellStyle, onto this one.
|
short |
getAlignment()
Deprecated.
POI 3.15 beta 3. Use
getAlignmentEnum() instead. |
HorizontalAlignment |
getAlignmentEnum()
get the type of horizontal alignment for the cell
|
short |
getBorderBottom()
Deprecated.
POI 3.15. Use
getBorderBottomEnum() instead.
This will return a BorderStyle enum in the future. |
BorderStyle |
getBorderBottomEnum()
get the type of border to use for the bottom border of the cell
|
short |
getBorderLeft()
Deprecated.
POI 3.15. Use
getBorderLeftEnum() instead.
This will return a BorderStyle enum in the future. |
BorderStyle |
getBorderLeftEnum()
get the type of border to use for the left border of the cell
|
short |
getBorderRight()
Deprecated.
POI 3.15. Use
getBorderRightEnum() instead.
This will return a BorderStyle enum in the future. |
BorderStyle |
getBorderRightEnum()
get the type of border to use for the right border of the cell
|
short |
getBorderTop()
Deprecated.
POI 3.15. Use
getBorderTopEnum() instead.
This will return a BorderStyle enum in the future. |
BorderStyle |
getBorderTopEnum()
get the type of border to use for the top border of the cell
|
short |
getBottomBorderColor()
get the color to use for the left border
|
short |
getDataFormat()
get the index of the format
|
java.lang.String |
getDataFormatString()
Get the format string
|
short |
getFillBackgroundColor()
get the background fill color, if the fill
is defined with an indexed color.
|
Color |
getFillBackgroundColorColor()
Gets the color object representing the current
background fill, resolving indexes using
the supplied workbook.
|
short |
getFillForegroundColor()
get the foreground fill color, if the fill
is defined with an indexed color.
|
Color |
getFillForegroundColorColor()
Gets the color object representing the current
foreground fill, resolving indexes using
the supplied workbook.
|
short |
getFillPattern()
Deprecated.
POI 3.15 beta 3. This method will return
FillPatternType in the future. Use setFillPattern(FillPatternType) instead. |
FillPatternType |
getFillPatternEnum()
get the fill pattern (??) - set to 1 to fill with foreground color
|
short |
getFontIndex()
gets the index of the font for this style
|
boolean |
getHidden()
get whether the cell's using this style are to be hidden
|
short |
getIndention()
get the number of spaces to indent the text in the cell
|
short |
getIndex()
get the index within the Workbook (sequence within the collection of ExtnededFormat objects)
|
short |
getLeftBorderColor()
get the color to use for the left border
|
boolean |
getLocked()
get whether the cell's using this style are to be locked
|
short |
getRightBorderColor()
get the color to use for the left border
|
short |
getRotation()
get the degree of rotation for the text in the cell.
|
boolean |
getShrinkToFit()
Should the Cell be auto-sized by Excel to shrink
it to fit if this text is too long?
|
short |
getTopBorderColor()
get the color to use for the top border
|
short |
getVerticalAlignment()
Deprecated.
POI 3.15 beta 3. Use
getVerticalAlignmentEnum() instead. |
VerticalAlignment |
getVerticalAlignmentEnum()
get the type of vertical alignment for the cell
|
boolean |
getWrapText()
get whether the text should be wrapped
|
void |
setAlignment(HorizontalAlignment align)
set the type of horizontal alignment for the cell
|
void |
setAlignment(short align)
Deprecated.
POI 3.15 beta 3. Use
setAlignment(HorizontalAlignment) instead. |
void |
setBorderBottom(BorderStyle border)
set the type of border to use for the bottom border of the cell
|
void |
setBorderBottom(short border)
Deprecated.
3.15 beta 2. Use
setBorderBottom(BorderStyle) instead. |
void |
setBorderLeft(BorderStyle border)
set the type of border to use for the left border of the cell
|
void |
setBorderLeft(short border)
Deprecated.
3.15 beta 2. Use
setBorderLeft(BorderStyle) instead |
void |
setBorderRight(BorderStyle border)
set the type of border to use for the right border of the cell
|
void |
setBorderRight(short border)
Deprecated.
3.15 beta 2. Use
setBorderRight(BorderStyle) instead |
void |
setBorderTop(BorderStyle border)
set the type of border to use for the top border of the cell
|
void |
setBorderTop(short border)
Deprecated.
3.15 beta 2. Use
setBorderTop(BorderStyle) instead |
void |
setBottomBorderColor(short color)
set the color to use for the bottom border
|
void |
setDataFormat(short fmt)
set the data format (must be a valid format)
|
void |
setFillBackgroundColor(short bg)
set the background fill color.
|
void |
setFillForegroundColor(short bg)
set the foreground fill color
Note: Ensure Foreground color is set prior to background color.
|
void |
setFillPattern(FillPatternType fp)
setting to one fills the cell with the foreground color...
|
void |
setFillPattern(short fp)
Deprecated.
POI 3.15 beta 3. Use
setFillPattern(FillPatternType) instead. |
void |
setFont(Font font)
set the font for this style
|
void |
setHidden(boolean hidden)
set the cell's using this style to be hidden
|
void |
setIndention(short indent)
set the number of spaces to indent the text in the cell
|
void |
setLeftBorderColor(short color)
set the color to use for the left border
|
void |
setLocked(boolean locked)
set the cell's using this style to be locked
|
void |
setRightBorderColor(short color)
set the color to use for the right border
|
void |
setRotation(short rotation)
set the degree of rotation for the text in the cell.
|
void |
setShrinkToFit(boolean shrinkToFit)
Controls if the Cell should be auto-sized
to shrink to fit if the text is too long
|
void |
setTopBorderColor(short color)
set the color to use for the top border
|
void |
setVerticalAlignment(short align)
Deprecated.
POI 3.15 beta 3. Use
setVerticalAlignment(VerticalAlignment) instead. |
void |
setVerticalAlignment(VerticalAlignment align)
set the type of vertical alignment for the cell
|
void |
setWrapText(boolean wrapped)
Set whether the text should be wrapped.
|
@Removal(version="3.17") static final short ALIGN_GENERAL
HorizontalAlignment.GENERAL
instead.@Removal(version="3.17") static final short ALIGN_LEFT
HorizontalAlignment.LEFT
instead.@Removal(version="3.17") static final short ALIGN_CENTER
HorizontalAlignment.CENTER
instead.@Removal(version="3.17") static final short ALIGN_RIGHT
HorizontalAlignment.RIGHT
instead.@Removal(version="3.17") static final short ALIGN_FILL
HorizontalAlignment.FILL
instead.@Removal(version="3.17") static final short ALIGN_JUSTIFY
HorizontalAlignment.JUSTIFY
instead.@Removal(version="3.17") static final short ALIGN_CENTER_SELECTION
HorizontalAlignment.CENTER_SELECTION
instead.@Removal(version="3.17") static final short VERTICAL_TOP
VerticalAlignment.TOP
instead.@Removal(version="3.17") static final short VERTICAL_CENTER
VerticalAlignment.CENTER
instead.@Removal(version="3.17") static final short VERTICAL_BOTTOM
VerticalAlignment.BOTTOM
instead.@Removal(version="3.17") static final short VERTICAL_JUSTIFY
VerticalAlignment.JUSTIFY
instead.@Removal(version="3.17") static final short BORDER_NONE
BorderStyle.NONE
instead.@Removal(version="3.17") static final short BORDER_THIN
BorderStyle.THIN
instead.@Removal(version="3.17") static final short BORDER_MEDIUM
BorderStyle.MEDIUM
instead.@Removal(version="3.17") static final short BORDER_DASHED
BorderStyle.DASHED
instead.@Removal(version="3.17") static final short BORDER_DOTTED
BorderStyle.DOTTED
instead.@Removal(version="3.17") static final short BORDER_THICK
BorderStyle.THICK
instead.@Removal(version="3.17") static final short BORDER_DOUBLE
BorderStyle.DOUBLE
instead.@Removal(version="3.17") static final short BORDER_HAIR
BorderStyle.HAIR
instead.@Removal(version="3.17") static final short BORDER_MEDIUM_DASHED
BorderStyle.MEDIUM_DASHED
instead.@Removal(version="3.17") static final short BORDER_DASH_DOT
BorderStyle.DASH_DOT
instead.@Removal(version="3.17") static final short BORDER_MEDIUM_DASH_DOT
BorderStyle.MEDIUM_DASH_DOT
instead.@Removal(version="3.17") static final short BORDER_DASH_DOT_DOT
BorderStyle.DASH_DOT_DOT
instead.@Removal(version="3.17") static final short BORDER_MEDIUM_DASH_DOT_DOT
BorderStyle.MEDIUM_DASH_DOT_DOT
instead.@Removal(version="3.17") static final short BORDER_SLANTED_DASH_DOT
BorderStyle.SLANTED_DASH_DOT
instead.@Removal(version="3.17") static final short NO_FILL
FillPatternType.NO_FILL
instead.@Removal(version="3.17") static final short SOLID_FOREGROUND
FillPatternType.SOLID_FOREGROUND
instead.@Removal(version="3.17") static final short FINE_DOTS
FillPatternType.FINE_DOTS
instead.@Removal(version="3.17") static final short ALT_BARS
FillPatternType.ALT_BARS
instead.@Removal(version="3.17") static final short SPARSE_DOTS
FillPatternType.SPARSE_DOTS
instead.@Removal(version="3.17") static final short THICK_HORZ_BANDS
FillPatternType.THICK_HORZ_BANDS
instead.@Removal(version="3.17") static final short THICK_VERT_BANDS
FillPatternType.THICK_VERT_BANDS
instead.@Removal(version="3.17") static final short THICK_BACKWARD_DIAG
FillPatternType.THICK_BACKWARD_DIAG
instead.@Removal(version="3.17") static final short THICK_FORWARD_DIAG
FillPatternType.THICK_FORWARD_DIAG
instead.@Removal(version="3.17") static final short BIG_SPOTS
FillPatternType.BIG_SPOTS
instead.@Removal(version="3.17") static final short BRICKS
FillPatternType.BRICKS
instead.@Removal(version="3.17") static final short THIN_HORZ_BANDS
FillPatternType.THIN_HORZ_BANDS
instead.@Removal(version="3.17") static final short THIN_VERT_BANDS
FillPatternType.THIN_VERT_BANDS
instead.@Removal(version="3.17") static final short THIN_BACKWARD_DIAG
FillPatternType.THIN_BACKWARD_DIAG
instead.@Removal(version="3.17") static final short THIN_FORWARD_DIAG
FillPatternType.THIN_FORWARD_DIAG
instead.@Removal(version="3.17") static final short SQUARES
FillPatternType.SQUARES
instead.@Removal(version="3.17") static final short DIAMONDS
FillPatternType.DIAMONDS
instead.@Removal(version="3.17") static final short LESS_DOTS
FillPatternType.LESS_DOTS
instead.@Removal(version="3.17") static final short LEAST_DOTS
FillPatternType.LEAST_DOTS
instead.short getIndex()
void setDataFormat(short fmt)
DataFormat
short getDataFormat()
DataFormat
java.lang.String getDataFormatString()
void setFont(Font font)
font
- a font object created or retrieved from the Workbook objectWorkbook.createFont()
,
Workbook.getFontAt(short)
short getFontIndex()
Workbook.getFontAt(short)
void setHidden(boolean hidden)
hidden
- - whether the cell using this style should be hiddenboolean getHidden()
void setLocked(boolean locked)
locked
- - whether the cell using this style should be lockedboolean getLocked()
void setAlignment(short align)
setAlignment(HorizontalAlignment)
instead.align
- - the type of alignmentALIGN_GENERAL
,
ALIGN_LEFT
,
ALIGN_CENTER
,
ALIGN_RIGHT
,
ALIGN_FILL
,
ALIGN_JUSTIFY
,
ALIGN_CENTER_SELECTION
void setAlignment(HorizontalAlignment align)
align
- - the type of alignmentshort getAlignment()
getAlignmentEnum()
instead.ALIGN_GENERAL
,
ALIGN_LEFT
,
ALIGN_CENTER
,
ALIGN_RIGHT
,
ALIGN_FILL
,
ALIGN_JUSTIFY
,
ALIGN_CENTER_SELECTION
HorizontalAlignment getAlignmentEnum()
void setWrapText(boolean wrapped)
true
make all content visible
within a cell by displaying it on multiple lineswrapped
- wrap text or notboolean getWrapText()
void setVerticalAlignment(short align)
setVerticalAlignment(VerticalAlignment)
instead.align
- the type of alignmentVERTICAL_TOP
,
VERTICAL_CENTER
,
VERTICAL_BOTTOM
,
VERTICAL_JUSTIFY
void setVerticalAlignment(VerticalAlignment align)
align
- the type of alignmentshort getVerticalAlignment()
getVerticalAlignmentEnum()
instead.VERTICAL_TOP
,
VERTICAL_CENTER
,
VERTICAL_BOTTOM
,
VERTICAL_JUSTIFY
VerticalAlignment getVerticalAlignmentEnum()
void setRotation(short rotation)
rotation
- degrees (see note above)short getRotation()
void setIndention(short indent)
indent
- - number of spacesshort getIndention()
@Removal(version="3.17") void setBorderLeft(short border)
setBorderLeft(BorderStyle)
insteadborder
- typeBORDER_NONE
,
BORDER_THIN
,
BORDER_MEDIUM
,
BORDER_DASHED
,
BORDER_DOTTED
,
BORDER_THICK
,
BORDER_DOUBLE
,
BORDER_HAIR
,
BORDER_MEDIUM_DASHED
,
BORDER_DASH_DOT
,
BORDER_MEDIUM_DASH_DOT
,
BORDER_DASH_DOT_DOT
,
BORDER_MEDIUM_DASH_DOT_DOT
,
BORDER_SLANTED_DASH_DOT
void setBorderLeft(BorderStyle border)
border
- typeshort getBorderLeft()
getBorderLeftEnum()
instead.
This will return a BorderStyle enum in the future.BorderStyle getBorderLeftEnum()
@Removal(version="3.17") void setBorderRight(short border)
setBorderRight(BorderStyle)
insteadborder
- typeBORDER_NONE
,
BORDER_THIN
,
BORDER_MEDIUM
,
BORDER_DASHED
,
BORDER_DOTTED
,
BORDER_THICK
,
BORDER_DOUBLE
,
BORDER_HAIR
,
BORDER_MEDIUM_DASHED
,
BORDER_DASH_DOT
,
BORDER_MEDIUM_DASH_DOT
,
BORDER_DASH_DOT_DOT
,
BORDER_MEDIUM_DASH_DOT_DOT
,
BORDER_SLANTED_DASH_DOT
void setBorderRight(BorderStyle border)
border
- typeshort getBorderRight()
getBorderRightEnum()
instead.
This will return a BorderStyle enum in the future.BorderStyle getBorderRightEnum()
@Removal(version="3.17") void setBorderTop(short border)
setBorderTop(BorderStyle)
insteadborder
- typeBORDER_NONE
,
BORDER_THIN
,
BORDER_MEDIUM
,
BORDER_DASHED
,
BORDER_DOTTED
,
BORDER_THICK
,
BORDER_DOUBLE
,
BORDER_HAIR
,
BORDER_MEDIUM_DASHED
,
BORDER_DASH_DOT
,
BORDER_MEDIUM_DASH_DOT
,
BORDER_DASH_DOT_DOT
,
BORDER_MEDIUM_DASH_DOT_DOT
,
BORDER_SLANTED_DASH_DOT
void setBorderTop(BorderStyle border)
border
- typeshort getBorderTop()
getBorderTopEnum()
instead.
This will return a BorderStyle enum in the future.BorderStyle getBorderTopEnum()
@Removal(version="3.17") void setBorderBottom(short border)
setBorderBottom(BorderStyle)
instead.border
- typeBORDER_NONE
,
BORDER_THIN
,
BORDER_MEDIUM
,
BORDER_DASHED
,
BORDER_DOTTED
,
BORDER_THICK
,
BORDER_DOUBLE
,
BORDER_HAIR
,
BORDER_MEDIUM_DASHED
,
BORDER_DASH_DOT
,
BORDER_MEDIUM_DASH_DOT
,
BORDER_DASH_DOT_DOT
,
BORDER_MEDIUM_DASH_DOT_DOT
,
BORDER_SLANTED_DASH_DOT
void setBorderBottom(BorderStyle border)
border
- typeshort getBorderBottom()
getBorderBottomEnum()
instead.
This will return a BorderStyle enum in the future.BorderStyle getBorderBottomEnum()
void setLeftBorderColor(short color)
color
- The index of the color definitionshort getLeftBorderColor()
void setRightBorderColor(short color)
color
- The index of the color definitionshort getRightBorderColor()
void setTopBorderColor(short color)
color
- The index of the color definitionshort getTopBorderColor()
void setBottomBorderColor(short color)
color
- The index of the color definitionshort getBottomBorderColor()
void setFillPattern(short fp)
setFillPattern(FillPatternType)
instead.fp
- fill pattern (set to 1 to fill w/foreground color)NO_FILL
,
SOLID_FOREGROUND
,
FINE_DOTS
,
ALT_BARS
,
SPARSE_DOTS
,
THICK_HORZ_BANDS
,
THICK_VERT_BANDS
,
THICK_BACKWARD_DIAG
,
THICK_FORWARD_DIAG
,
BIG_SPOTS
,
BRICKS
,
THIN_HORZ_BANDS
,
THIN_VERT_BANDS
,
THIN_BACKWARD_DIAG
,
THIN_FORWARD_DIAG
,
SQUARES
,
DIAMONDS
void setFillPattern(FillPatternType fp)
fp
- fill pattern (set to FillPatternType.SOLID_FOREGROUND
to fill w/foreground color)NO_FILL
,
SOLID_FOREGROUND
,
FINE_DOTS
,
ALT_BARS
,
SPARSE_DOTS
,
THICK_HORZ_BANDS
,
THICK_VERT_BANDS
,
THICK_BACKWARD_DIAG
,
THICK_FORWARD_DIAG
,
BIG_SPOTS
,
BRICKS
,
THIN_HORZ_BANDS
,
THIN_VERT_BANDS
,
THIN_BACKWARD_DIAG
,
THIN_FORWARD_DIAG
,
SQUARES
,
DIAMONDS
short getFillPattern()
FillPatternType
in the future. Use setFillPattern(FillPatternType)
instead.FillPatternType getFillPatternEnum()
void setFillBackgroundColor(short bg)
bg
- colorshort getFillBackgroundColor()
Color getFillBackgroundColorColor()
void setFillForegroundColor(short bg)
bg
- colorshort getFillForegroundColor()
Color getFillForegroundColorColor()
void cloneStyleFrom(CellStyle source)
void setShrinkToFit(boolean shrinkToFit)
boolean getShrinkToFit()
Copyright 2017 The Apache Software Foundation or its licensors, as applicable.