Package org.apache.poi.xslf.usermodel
Class XSLFBackground
- java.lang.Object
 - 
- org.apache.poi.xslf.usermodel.XSLFShape
 - 
- org.apache.poi.xslf.usermodel.XSLFSimpleShape
 - 
- org.apache.poi.xslf.usermodel.XSLFBackground
 
 
 
 
- 
- All Implemented Interfaces:
 IAdjustableShape,Background<XSLFShape,XSLFTextParagraph>,PlaceableShape<XSLFShape,XSLFTextParagraph>,Shape<XSLFShape,XSLFTextParagraph>,SimpleShape<XSLFShape,XSLFTextParagraph>
public class XSLFBackground extends XSLFSimpleShape implements Background<XSLFShape,XSLFTextParagraph>
Background shape 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.geom.Rectangle2DgetAnchor()Returns the anchor (the bounding box rectangle) of this shape.voidsetFillColor(java.awt.Color color)Specifies a solid color fill.voidsetPlaceholder(Placeholder placeholder)Specifies that the corresponding shape should be represented by the generating application as a placeholder.- 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape
createHyperlink, getAdjustValue, getFillColor, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getHyperlink, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeType, getStrokeStyle, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyle 
- 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape
draw, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getSheet, getXmlObject, isPlaceholder, setParent 
- 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.poi.sl.usermodel.Background
getFillStyle 
- 
Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape
getParent, getSheet 
- 
Methods inherited from interface org.apache.poi.sl.usermodel.Shape
draw, getParent, getShapeId, getShapeName, getSheet 
- 
Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape
getPlaceholder, getPlaceholderDetails, isPlaceholder 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getAnchor
public java.awt.geom.Rectangle2D getAnchor()
Description copied from interface:ShapeReturns the anchor (the bounding box rectangle) of this shape. All coordinates are expressed in points (72 dpi).- Specified by:
 getAnchorin interfacePlaceableShape<XSLFShape,XSLFTextParagraph>- Specified by:
 getAnchorin interfaceShape<XSLFShape,XSLFTextParagraph>- Overrides:
 getAnchorin classXSLFSimpleShape- Returns:
 - the anchor of this shape
 
 
- 
setPlaceholder
public void setPlaceholder(Placeholder placeholder)
Description copied from interface:SimpleShapeSpecifies that the corresponding shape should be represented by the generating application as a placeholder. When a shape is considered a placeholder by the generating application it can have special properties to alert the user that they may enter content into the shape.- Specified by:
 setPlaceholderin interfaceSimpleShape<XSLFShape,XSLFTextParagraph>- Overrides:
 setPlaceholderin classXSLFShape- Parameters:
 placeholder- the placeholder or null to remove the reference to the placeholder- See Also:
 PlaceholderDetails.setPlaceholder(Placeholder)
 
- 
setFillColor
public void setFillColor(java.awt.Color color)
Description copied from interface:SimpleShapeSpecifies a solid color fill. The shape is filled entirely with the specified color.- Specified by:
 setFillColorin interfaceSimpleShape<XSLFShape,XSLFTextParagraph>- Overrides:
 setFillColorin classXSLFSimpleShape- Parameters:
 color- the solid color fill. The value ofnullunsets the solid fill attribute from the underlying implementation
 
 - 
 
 -