com.f1j.paint
Interface FillFormat

All Known Subinterfaces:
FillFormat, FillFormat, FillFormat

public interface FillFormat
extends FormatBase

The Fill Format interface.


Inner Class Summary
static class FillFormat.EPattern
          Pattern enumeration
static class FillFormat.EProperty
          Fill format property enumeration
static class FillFormat.EType
          Type enumeration
 
Field Summary
static FillFormat.EProperty eAuto
          Auto Property
static FillFormat.EProperty eBackColor
          BackColor Property
static FillFormat.EType eFillPatterned
          Patterned Fill Type
static FillFormat.EType eFillSolid
          Solid Fill Type
static FillFormat.EProperty eFillType
          Fill Type Property
static FillFormat.EProperty eForeColor
          ForeColor Property
static FillFormat.EPattern ePattern10Percent
          Pattern style.
static FillFormat.EPattern ePattern20Percent
          Pattern style.
static FillFormat.EPattern ePattern25Percent
          Pattern style.
static FillFormat.EPattern ePattern30Percent
          Pattern style.
static FillFormat.EPattern ePattern50Percent
          Pattern style.
static FillFormat.EPattern ePattern70Percent
          Pattern style.
static FillFormat.EPattern ePatternDarkDownwardDiagonal
          Pattern style.
static FillFormat.EPattern ePatternDarkHorizontal
          Pattern style.
static FillFormat.EPattern ePatternDarkUpwardDiagonal
          Pattern style.
static FillFormat.EPattern ePatternDarkVertical
          Pattern style.
static FillFormat.EPattern ePatternLightDownwardDiagonal
          Pattern style.
static FillFormat.EPattern ePatternLightHorizontal
          Pattern style.
static FillFormat.EPattern ePatternLightUpwardDiagonal
          Pattern style.
static FillFormat.EPattern ePatternLightVertical
          Pattern style.
static FillFormat.EPattern ePatternSmallCheckerBoard
          Pattern style.
static FillFormat.EPattern ePatternSmallGrid
          Pattern style.
static FillFormat.EPattern ePatternTrellis
          Pattern style.
static FillFormat.EProperty eVisible
          Visible Property
 
Method Summary
 int getBackColor()
          Returns the color used to display the pattern background.
 int getForeColor()
          Returns the color used to display the pattern foreground.
 FillFormat.EPattern getPattern()
          Gets the pattern.
 FillFormat.EType getType()
          Gets the type.
 boolean isAuto()
          Returns whether fill is auto.
 boolean isVisible()
          Returns whether fill is visible.
 void setAuto(boolean auto)
          Sets whether fill is auto.
 void setBackColor(int bg)
          Sets the color used to display the pattern background.
 void setForeColor(int fg)
          Sets the color used to display the pattern foreground.
 void setPattern(FillFormat.EPattern pattern)
          Sets the pattern.
 void setSolid()
          Sets the fill to solid.
 void setVisible(boolean visible)
          Sets whether fill is visible.
 
Methods inherited from interface com.f1j.util.FormatBase
isUndefined, isUndefined, isUsed, setUndefined, undefineAll, useAll
 

Field Detail

eAuto

public static final FillFormat.EProperty eAuto
Auto Property

eBackColor

public static final FillFormat.EProperty eBackColor
BackColor Property

eForeColor

public static final FillFormat.EProperty eForeColor
ForeColor Property

eFillType

public static final FillFormat.EProperty eFillType
Fill Type Property

eVisible

public static final FillFormat.EProperty eVisible
Visible Property

ePattern10Percent

public static final FillFormat.EPattern ePattern10Percent
Pattern style.

ePattern20Percent

public static final FillFormat.EPattern ePattern20Percent
Pattern style.

ePattern25Percent

public static final FillFormat.EPattern ePattern25Percent
Pattern style.

ePattern30Percent

public static final FillFormat.EPattern ePattern30Percent
Pattern style.

ePattern50Percent

public static final FillFormat.EPattern ePattern50Percent
Pattern style.

ePattern70Percent

public static final FillFormat.EPattern ePattern70Percent
Pattern style.

ePatternDarkDownwardDiagonal

public static final FillFormat.EPattern ePatternDarkDownwardDiagonal
Pattern style.

ePatternDarkHorizontal

public static final FillFormat.EPattern ePatternDarkHorizontal
Pattern style.

ePatternDarkUpwardDiagonal

public static final FillFormat.EPattern ePatternDarkUpwardDiagonal
Pattern style.

ePatternDarkVertical

public static final FillFormat.EPattern ePatternDarkVertical
Pattern style.

ePatternLightDownwardDiagonal

public static final FillFormat.EPattern ePatternLightDownwardDiagonal
Pattern style.

ePatternLightHorizontal

public static final FillFormat.EPattern ePatternLightHorizontal
Pattern style.

ePatternLightUpwardDiagonal

public static final FillFormat.EPattern ePatternLightUpwardDiagonal
Pattern style.

ePatternLightVertical

public static final FillFormat.EPattern ePatternLightVertical
Pattern style.

ePatternSmallCheckerBoard

public static final FillFormat.EPattern ePatternSmallCheckerBoard
Pattern style.

ePatternSmallGrid

public static final FillFormat.EPattern ePatternSmallGrid
Pattern style.

ePatternTrellis

public static final FillFormat.EPattern ePatternTrellis
Pattern style.

eFillPatterned

public static final FillFormat.EType eFillPatterned
Patterned Fill Type

eFillSolid

public static final FillFormat.EType eFillSolid
Solid Fill Type
Method Detail

getBackColor

public int getBackColor()
Returns the color used to display the pattern background.
Returns:
an integer representing the color. The color is returned as a four-byte integer in the format 0x00RRGGBB.
See Also:
setBackColor(int)

getForeColor

public int getForeColor()
Returns the color used to display the pattern foreground.
Returns:
an integer representing the color. The color is returned as a four-byte integer in the format 0x00RRGGBB.
See Also:
setForeColor(int)

getPattern

public FillFormat.EPattern getPattern()
Gets the pattern.
Returns:
the EPattern value

getType

public FillFormat.EType getType()
Gets the type.
Returns:
the EType value

isAuto

public boolean isAuto()
Returns whether fill is auto.
Returns:
whether fill is auto

isVisible

public boolean isVisible()
Returns whether fill is visible.
Returns:
whether fill is visible

setAuto

public void setAuto(boolean auto)
Sets whether fill is auto.
Parameters:
auto - whether or not to fill auto.

setBackColor

public void setBackColor(int bg)
Sets the color used to display the pattern background.

Parameters:
bg - an integer describing the font color as a four-byte integer in the format 0x00RRGGBB.
See Also:
getBackColor()

setForeColor

public void setForeColor(int fg)
Sets the color used to display the pattern foreground.

Parameters:
fg - an integer describing the font color as a four-byte integer in the format 0x00RRGGBB.
See Also:
getForeColor()

setPattern

public void setPattern(FillFormat.EPattern pattern)
Sets the pattern.
Parameters:
pattern - The EPattern value.

setSolid

public void setSolid()
Sets the fill to solid.

setVisible

public void setVisible(boolean visible)
Sets whether fill is visible.
Parameters:
visible - whether or not fill is visible.