Package io.keikai.model.util
Class CellStyleMatcher
- java.lang.Object
-
- io.keikai.model.util.CellStyleMatcher
-
- All Implemented Interfaces:
Serializable
public class CellStyleMatcher extends Object implements Serializable
This class can be used to match aSCellStyle
with a criteria.- Since:
- 3.5.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CellStyleMatcher()
CellStyleMatcher(SCellStyle criteria)
Create a style matcher with an existing cell style as the criteria
-
Method Summary
-
-
-
Constructor Detail
-
CellStyleMatcher
public CellStyleMatcher()
-
CellStyleMatcher
public CellStyleMatcher(SCellStyle criteria)
Create a style matcher with an existing cell style as the criteria
-
-
Method Detail
-
setDataFormat
public void setDataFormat(String fmt)
-
setFontColor
public void setFontColor(String color)
-
setFontName
public void setFontName(String name)
-
setFontBoldweight
public void setFontBoldweight(SFont.Boldweight boldweight)
-
setFontHeightPoints
public void setFontHeightPoints(int height)
-
setFontItalic
public void setFontItalic(boolean italic)
-
setFontStrikeout
public void setFontStrikeout(boolean strikeout)
-
setFontTypeOffset
public void setFontTypeOffset(SFont.TypeOffset typeOffset)
-
setFontUnderline
public void setFontUnderline(SFont.Underline underline)
-
setFont
public void setFont(SFont font)
-
removeFont
public void removeFont()
-
setHidden
public void setHidden(boolean hidden)
-
setLocked
public void setLocked(boolean locked)
-
setAlignment
public void setAlignment(SCellStyle.Alignment align)
-
setWrapText
public void setWrapText(boolean wrapped)
-
setVerticalAlignment
public void setVerticalAlignment(SCellStyle.VerticalAlignment align)
-
setRotation
public void setRotation(int rotation)
-
setIndention
public void setIndention(int indent)
-
setBorderRight
public void setBorderRight(SBorder.BorderType border)
-
setBorderTop
public void setBorderTop(SBorder.BorderType border)
-
setBorderBottom
public void setBorderBottom(SBorder.BorderType border)
-
setBorderLeft
public void setBorderLeft(SBorder.BorderType border)
-
setBorderLeftColor
public void setBorderLeftColor(String htmlcolor)
-
setBorderRightColor
public void setBorderRightColor(String htmlcolor)
-
setBorderTopColor
public void setBorderTopColor(String htmlcolor)
-
setBorderBottomColor
public void setBorderBottomColor(String htmlcolor)
-
setFillPattern
public void setFillPattern(SFill.FillPattern fp)
-
setFillColor
public void setFillColor(String htmlcolor)
-
setBackColor
public void setBackColor(String htmlcolor)
-
removeDataFormat
public void removeDataFormat()
-
removeFontColor
public void removeFontColor()
-
removeFontName
public void removeFontName()
-
removeFontBoldweight
public void removeFontBoldweight()
-
removeFontHeightPoints
public void removeFontHeightPoints()
-
removeFontItalic
public void removeFontItalic()
-
removeFontStrikeout
public void removeFontStrikeout()
-
removeFontTypeOffset
public void removeFontTypeOffset()
-
removeFontUnderline
public void removeFontUnderline()
-
removeHidden
public void removeHidden()
-
removeLocked
public void removeLocked()
-
removeAlignment
public void removeAlignment()
-
removeWrapText
public void removeWrapText()
-
removeVerticalAlignment
public void removeVerticalAlignment()
-
removeRotation
public void removeRotation()
-
removeIndention
public void removeIndention()
-
removeBorderRight
public void removeBorderRight()
-
removeBorderTop
public void removeBorderTop()
-
removeBorderBottom
public void removeBorderBottom()
-
removeBorderLeft
public void removeBorderLeft()
-
removeBorderLeftColor
public void removeBorderLeftColor()
-
removeBorderRightColor
public void removeBorderRightColor()
-
removeBorderTopColor
public void removeBorderTopColor()
-
removeBorderBottomColor
public void removeBorderBottomColor()
-
removeFillPattern
public void removeFillPattern()
-
removeFillColor
public void removeFillColor()
-
removeBackColor
public void removeBackColor()
-
match
public boolean match(SCellStyle style)
- Returns:
- returns TRUE if specified cell style matches the matcher's criteria
-
-