com.aspose.slides
Class ChartTitle

java.lang.Object
  extended by com.aspose.slides.ChartTitle
All Implemented Interfaces:
IChartComponent, IChartTitle, IFormattedTextContainer, ILayoutable, IOverridableText, IPresentationComponent, ISlideComponent

public class ChartTitle
extends java.lang.Object
implements IChartTitle

Represents chart title properties.


Method Summary
 ITextFrame addTextFrameForOverriding(java.lang.String text)
           Initialize TextFrameForOverriding with the text in paramener "text".
 float getBottom()
           Bottom.
 IChart getChart()
           Returns the parent chart.
 IFormat getFormat()
           Returns the fill, line, effect styles of a title.
 float getHeight()
           Returns or sets the height of a title as a fraction of the height of the chart.
 boolean getOverlay()
           Determines whether other chart elements shall be allowed to overlap title.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 IPresentation getPresentation()
           Returns the parent presentation of a FillFormat.
 float getRight()
           Right.
 IBaseSlide getSlide()
           Returns the parent slide of a FillFormat.
 IChartTextFormat getTextFormat()
           Returns text format.
 ITextFrame getTextFrameForOverriding()
           Can contain a rich formatted text.
 float getWidth()
           Returns or sets the width of a title as a fraction of the width of the chart.
 float getX()
           Returns or sets the x coordinate of a title as a fraction of the width of the chart.
 float getY()
           Returns or sets the y coordinate of a title as a fraction of the height of the chart.
 void setHeight(float value)
           Returns or sets the height of a title as a fraction of the height of the chart.
 void setOverlay(boolean value)
           Determines whether other chart elements shall be allowed to overlap title.
 void setWidth(float value)
           Returns or sets the width of a title as a fraction of the width of the chart.
 void setX(float value)
           Returns or sets the x coordinate of a title as a fraction of the width of the chart.
 void setY(float value)
           Returns or sets the y coordinate of a title as a fraction of the height of the chart.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getX

public float getX()

Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.

Specified by:
getX in interface ILayoutable

setX

public void setX(float value)

Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write float.

Specified by:
setX in interface ILayoutable

getY

public float getY()

Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.

Specified by:
getY in interface ILayoutable

setY

public void setY(float value)

Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write float.

Specified by:
setY in interface ILayoutable

getWidth

public float getWidth()

Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.

Specified by:
getWidth in interface ILayoutable

setWidth

public void setWidth(float value)

Returns or sets the width of a title as a fraction of the width of the chart. Read/write float.

Specified by:
setWidth in interface ILayoutable

getHeight

public float getHeight()

Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.

Specified by:
getHeight in interface ILayoutable

setHeight

public void setHeight(float value)

Returns or sets the height of a title as a fraction of the height of the chart. Read/write float.

Specified by:
setHeight in interface ILayoutable

getRight

public float getRight()

Right. Read-only float.

Specified by:
getRight in interface ILayoutable

getBottom

public float getBottom()

Bottom. Read-only float.

Specified by:
getBottom in interface ILayoutable

getOverlay

public boolean getOverlay()

Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.

Specified by:
getOverlay in interface IChartTitle

setOverlay

public void setOverlay(boolean value)

Determines whether other chart elements shall be allowed to overlap title. Read/write boolean.

Specified by:
setOverlay in interface IChartTitle

getFormat

public IFormat getFormat()

Returns the fill, line, effect styles of a title. Read-only IFormat.

Specified by:
getFormat in interface IChartTitle

addTextFrameForOverriding

public ITextFrame addTextFrameForOverriding(java.lang.String text)

Initialize TextFrameForOverriding with the text in paramener "text". If TextFrameForOverriding is already initialized then simply changes its text.

Specified by:
addTextFrameForOverriding in interface IOverridableText
Parameters:
text - Text for a new TextFrameForOverriding.

getTextFrameForOverriding

public ITextFrame getTextFrameForOverriding()

Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.

Specified by:
getTextFrameForOverriding in interface IOverridableText

getTextFormat

public IChartTextFormat getTextFormat()

Returns text format. Read-only IChartTextFormat.

Specified by:
getTextFormat in interface IFormattedTextContainer

getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.


getChart

public IChart getChart()

Returns the parent chart. Read-only IChart.

Specified by:
getChart in interface IChartComponent

getSlide

public IBaseSlide getSlide()

Returns the parent slide of a FillFormat. Read-only BaseSlide.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public IPresentation getPresentation()

Returns the parent presentation of a FillFormat. Read-only IPresentation.

Specified by:
getPresentation in interface IPresentationComponent


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.