Package io.keikai.model.impl
Class ImmutableFillImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractFillAdv
-
- io.keikai.model.impl.ImmutableFillImpl
-
- All Implemented Interfaces:
SFill
,Serializable
- Direct Known Subclasses:
ExtraFillImpl
public class ImmutableFillImpl extends AbstractFillAdv
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.keikai.model.SFill
SFill.FillPattern
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableFillImpl
BLANK_FILL
-
Constructor Summary
Constructors Constructor Description ImmutableFillImpl(SFill.FillPattern pattern, SColor fgColor, SColor bgColor)
ImmutableFillImpl(SFill.FillPattern pattern, String fgColor, String bgColor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
SColor
getBackColor()
SColor
getFillColor()
SFill.FillPattern
getFillPattern()
static byte[]
getFillPatternBytes(ImmutableFillImpl style, int xOffset, int yOffset, int width, int height)
String
getFillPatternHtml()
SColor
getRawBackColor()
SColor
getRawFillColor()
SFill.FillPattern
getRawFillPattern()
int
hashCode()
void
setBackColor(SColor backColor)
void
setFillColor(SColor fillColor)
void
setFillPattern(SFill.FillPattern fillPattern)
-
-
-
Field Detail
-
BLANK_FILL
public static final ImmutableFillImpl BLANK_FILL
-
-
Constructor Detail
-
ImmutableFillImpl
public ImmutableFillImpl(SFill.FillPattern pattern, String fgColor, String bgColor)
-
ImmutableFillImpl
public ImmutableFillImpl(SFill.FillPattern pattern, SColor fgColor, SColor bgColor)
-
-
Method Detail
-
getFillPatternBytes
public static byte[] getFillPatternBytes(ImmutableFillImpl style, int xOffset, int yOffset, int width, int height)
-
getFillColor
public SColor getFillColor()
-
setFillColor
public void setFillColor(SColor fillColor)
-
getBackColor
public SColor getBackColor()
-
setBackColor
public void setBackColor(SColor backColor)
-
getFillPattern
public SFill.FillPattern getFillPattern()
-
setFillPattern
public void setFillPattern(SFill.FillPattern fillPattern)
-
getFillPatternHtml
public String getFillPatternHtml()
-
getRawFillColor
public SColor getRawFillColor()
- Specified by:
getRawFillColor
in classAbstractFillAdv
-
getRawBackColor
public SColor getRawBackColor()
- Specified by:
getRawBackColor
in classAbstractFillAdv
-
getRawFillPattern
public SFill.FillPattern getRawFillPattern()
- Specified by:
getRawFillPattern
in classAbstractFillAdv
-
-