com.aspose.slides
Class Placeholder

java.lang.Object
  extended by com.aspose.slides.Placeholder
All Implemented Interfaces:
IPlaceholder, IShape, IShapeFormat
Direct Known Subclasses:
TextHolder

public class Placeholder
extends java.lang.Object
implements IShape, IShapeFormat, IPlaceholder

Represents the placeholder on a slide.


Method Summary
 java.lang.String getAlternativeText()
          Returns the alternative text associated with a placeholder in a Web presentation.
 FillFormat getFillFormat()
          Returns the FillFormat object that contains fill format properties of a Placeholder.
 int getHeight()
          Returns the height of a Placeholder.
 LineFormat getLineFormat()
          Returns the LineFormat object that contains line format properties of a Placeholder.
 Slide getParent()
          Returns the parent slide.
 int getPlaceholderType()
          Returns the type of a placeholder.
 ShadowFormat getShadowFormat()
          Returns the ShadowFormat object that contains shadow format properties of a Placeholder.
 Shape getShapeRef()
          Returns the Shape object which contains real properties of a Placeholder.
 ThreeDFormat getThreeDFormat()
          Returns the ThreeDFormat object that contains 3D format properties of a Placeholder.
 int getWidth()
          Returns the width of a Placeholder.
 int getX()
          Returns the x-coordinate of the upper-left corner of a Placeholder.
 int getY()
          Returns the y-coordinate of the upper-left corner of a Placeholder.
 void setAlternativeText(java.lang.String value)
          Sets the alternative text associated with a placeholder in a Web presentation.
 void setHeight(int value)
          Sets the height of a Placeholder.
 void setWidth(int value)
          Sets the width of a Placeholder.
 void setX(int value)
          Sets the x-coordinate of the upper-left corner of a Placeholder.
 void setY(int value)
          Sets the y-coordinate of the upper-left corner of a Placeholder.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getParent

public Slide getParent()
Returns the parent slide.

Specified by:
getParent in interface IShape
Returns:
The parent slide.

getAlternativeText

public java.lang.String getAlternativeText()
Returns the alternative text associated with a placeholder in a Web presentation.

Specified by:
getAlternativeText in interface IShape
Returns:
The alternative text.

setAlternativeText

public void setAlternativeText(java.lang.String value)
Sets the alternative text associated with a placeholder in a Web presentation.

Specified by:
setAlternativeText in interface IShape
Parameters:
value - the alternative text.

getShapeRef

public Shape getShapeRef()
Returns the Shape object which contains real properties of a Placeholder.

Specified by:
getShapeRef in interface IPlaceholder
Returns:
The shape object.

getPlaceholderType

public int getPlaceholderType()
Returns the type of a placeholder.

Specified by:
getPlaceholderType in interface IPlaceholder
Returns:
The placeholder type. See PlaceholderType.

getX

public int getX()
Returns the x-coordinate of the upper-left corner of a Placeholder.

Specified by:
getX in interface IShape
Returns:
The x coordinate.

setX

public void setX(int value)
Sets the x-coordinate of the upper-left corner of a Placeholder.

Specified by:
setX in interface IShape
Parameters:
value - new x coordinate.

getY

public int getY()
Returns the y-coordinate of the upper-left corner of a Placeholder.

Specified by:
getY in interface IShape
Returns:
The y coordinate.

setY

public void setY(int value)
Sets the y-coordinate of the upper-left corner of a Placeholder.

Specified by:
setY in interface IShape
Parameters:
value - new y coordinate.

getWidth

public int getWidth()
Returns the width of a Placeholder.

Specified by:
getWidth in interface IShape
Returns:
The width of a Placeholder.

setWidth

public void setWidth(int value)
Sets the width of a Placeholder.

Specified by:
setWidth in interface IShape
Parameters:
value - new width of a Placeholder.

getHeight

public int getHeight()
Returns the height of a Placeholder.

Specified by:
getHeight in interface IShape
Returns:
The height of a Placeholder.

setHeight

public void setHeight(int value)
Sets the height of a Placeholder.

Specified by:
setHeight in interface IShape
Parameters:
value - new height of a Placeholder.

getLineFormat

public LineFormat getLineFormat()
Returns the LineFormat object that contains line format properties of a Placeholder.

Specified by:
getLineFormat in interface IShapeFormat
Returns:
The LineFormat object.

getFillFormat

public FillFormat getFillFormat()
Returns the FillFormat object that contains fill format properties of a Placeholder.

Specified by:
getFillFormat in interface IShapeFormat
Returns:
The FillFormat object.

getShadowFormat

public ShadowFormat getShadowFormat()
Returns the ShadowFormat object that contains shadow format properties of a Placeholder.

Specified by:
getShadowFormat in interface IShapeFormat
Returns:
The ShadowFormat object.

getThreeDFormat

public ThreeDFormat getThreeDFormat()
Returns the ThreeDFormat object that contains 3D format properties of a Placeholder.

Specified by:
getThreeDFormat in interface IShapeFormat
Returns:
The ThreeDFormat object.