Package com.independentsoft.office.vml
Class Background
java.lang.Object
com.independentsoft.office.vml.Background
- All Implemented Interfaces:
IContentElement,IVmlElement
The Class Background.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new background.Background(InternalXMLStreamReader reader)Instantiates a new background. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the black white mode.getFill()Gets the fill.Gets the fill color.getID()Gets the id.Gets the normal black white mode.Gets the pure black white mode.Gets the target screen size.booleanisFilled()Checks if is filled.voidsetBlackWhiteMode(BlackWhiteMode blackWhiteMode)Sets the black white mode.voidSets the fill.voidsetFillColor(String fillColor)Sets the fill color.voidsetFilled(boolean isFilled)Sets the filled.voidSets the id.voidsetNormalBlackWhiteMode(BlackWhiteMode normalBlackWhiteMode)Sets the normal black white mode.voidsetPureBlackWhiteMode(BlackWhiteMode pureBlackWhiteMode)Sets the pure black white mode.voidsetTargetScreenSize(ScreenSize targetScreenSize)Sets the target screen size.toString()
-
Constructor Details
-
Background
public Background()Instantiates a new background. -
Background
Instantiates a new background.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIVmlElement- Overrides:
clonein classObject
-
toString
-
getFill
Gets the fill.- Returns:
- the fill
-
setFill
Sets the fill.- Parameters:
fill- the new fill
-
getBlackWhiteMode
Gets the black white mode.- Returns:
- the black white mode
-
setBlackWhiteMode
Sets the black white mode.- Parameters:
blackWhiteMode- the new black white mode
-
getNormalBlackWhiteMode
Gets the normal black white mode.- Returns:
- the normal black white mode
-
setNormalBlackWhiteMode
Sets the normal black white mode.- Parameters:
normalBlackWhiteMode- the new normal black white mode
-
getPureBlackWhiteMode
Gets the pure black white mode.- Returns:
- the pure black white mode
-
setPureBlackWhiteMode
Sets the pure black white mode.- Parameters:
pureBlackWhiteMode- the new pure black white mode
-
getFillColor
Gets the fill color.- Returns:
- the fill color
-
setFillColor
Sets the fill color.- Parameters:
fillColor- the new fill color
-
isFilled
public boolean isFilled()Checks if is filled.- Returns:
- true, if is filled
-
setFilled
public void setFilled(boolean isFilled)Sets the filled.- Parameters:
isFilled- the new filled
-
getID
Gets the id.- Returns:
- the id
-
setID
Sets the id.- Parameters:
id- the new id
-
getTargetScreenSize
Gets the target screen size.- Returns:
- the target screen size
-
setTargetScreenSize
Sets the target screen size.- Parameters:
targetScreenSize- the new target screen size
-