Package io.keikai.model.impl
Class ImmutableFillImpl
- java.lang.Object
-
- io.keikai.model.impl.AbstractFillAdv
-
- io.keikai.model.impl.ImmutableFillImpl
-
- All Implemented Interfaces:
SFill,java.io.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 ImmutableFillImplBLANK_FILL
-
Constructor Summary
Constructors Constructor Description ImmutableFillImpl(SFill.FillPattern pattern, SColor fgColor, SColor bgColor)ImmutableFillImpl(SFill.FillPattern pattern, java.lang.String fgColor, java.lang.String bgColor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)SColorgetBackColor()SColorgetFillColor()SFill.FillPatterngetFillPattern()static byte[]getFillPatternBytes(ImmutableFillImpl style, int xOffset, int yOffset, int width, int height)java.lang.StringgetFillPatternHtml()SColorgetRawBackColor()SColorgetRawFillColor()SFill.FillPatterngetRawFillPattern()inthashCode()voidsetBackColor(SColor backColor)voidsetFillColor(SColor fillColor)voidsetFillPattern(SFill.FillPattern fillPattern)
-
-
-
Field Detail
-
BLANK_FILL
public static final ImmutableFillImpl BLANK_FILL
-
-
Constructor Detail
-
ImmutableFillImpl
public ImmutableFillImpl(SFill.FillPattern pattern, java.lang.String fgColor, java.lang.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)
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getFillPatternHtml
public java.lang.String getFillPatternHtml()
-
getRawFillColor
public SColor getRawFillColor()
- Specified by:
getRawFillColorin classAbstractFillAdv
-
getRawBackColor
public SColor getRawBackColor()
- Specified by:
getRawBackColorin classAbstractFillAdv
-
getRawFillPattern
public SFill.FillPattern getRawFillPattern()
- Specified by:
getRawFillPatternin classAbstractFillAdv
-
-