Title

Inheritance: java.lang.Object, com.aspose.note.Node, com.aspose.note.CompositeNodeBase

All Implemented Interfaces: com.aspose.note.ICompositeNodeT, com.aspose.note.IPageChildNode

public final class Title extends CompositeNodeBase implements ICompositeNodeT<RichText>, IPageChildNode

Represents a title.

Constructors

ConstructorDescription
Title()Initializes a new instance of the Title class.

Methods

MethodDescription
isComposite()Gets a value indicating whether this node is composite.
getLastModifiedTime()Gets or sets the last modified time.
setLastModifiedTime(Date value)Gets or sets the last modified time.
getTitleText()Gets or sets the text of the title.
setTitleText(RichText value)Gets or sets the text of the title.
getTitleDate()Gets or sets a string representation of the date in the title.
setTitleDate(RichText value)Gets or sets a string representation of the date in the title.
getTitleTime()Gets or sets a string representation of the time in the title.
setTitleTime(RichText value)Gets or sets a string representation of the time in the title.
getHorizontalOffset()Gets or sets the horizontal offset.
setHorizontalOffset(float value)Gets or sets the horizontal offset.
getVerticalOffset()Gets or sets the vertical offset.
setVerticalOffset(float value)Gets or sets the vertical offset.
accept(DocumentVisitor visitor)Accepts the visitor of the node.
getChildNodes(int type)
getChildNodes(Class typeParameterClass)Get all child nodes by the node type.
iterator()Returns an enumerator that iterates through child nodes of the Title.

Title()

public Title()

Initializes a new instance of the Title class.

isComposite()

public boolean isComposite()

Gets a value indicating whether this node is composite. If true the node can have child nodes.

Returns: boolean

getLastModifiedTime()

public Date getLastModifiedTime()

Gets or sets the last modified time.

Returns: java.util.Date

setLastModifiedTime(Date value)

public void setLastModifiedTime(Date value)

Gets or sets the last modified time.

Parameters:

ParameterTypeDescription
valuejava.util.Date

getTitleText()

public RichText getTitleText()

Gets or sets the text of the title.

Returns: RichText

setTitleText(RichText value)

public final void setTitleText(RichText value)

Gets or sets the text of the title.

Parameters:

ParameterTypeDescription
valueRichText

getTitleDate()

public final RichText getTitleDate()

Gets or sets a string representation of the date in the title.

Returns: RichText

setTitleDate(RichText value)

public final void setTitleDate(RichText value)

Gets or sets a string representation of the date in the title.

Parameters:

ParameterTypeDescription
valueRichText

getTitleTime()

public final RichText getTitleTime()

Gets or sets a string representation of the time in the title.

Returns: RichText

setTitleTime(RichText value)

public final void setTitleTime(RichText value)

Gets or sets a string representation of the time in the title.

Parameters:

ParameterTypeDescription
valueRichText

getHorizontalOffset()

public final float getHorizontalOffset()

Gets or sets the horizontal offset.

Returns: float

setHorizontalOffset(float value)

public final void setHorizontalOffset(float value)

Gets or sets the horizontal offset.

Parameters:

ParameterTypeDescription
valuefloat

getVerticalOffset()

public final float getVerticalOffset()

Gets or sets the vertical offset.

Returns: float

setVerticalOffset(float value)

public final void setVerticalOffset(float value)

Gets or sets the vertical offset.

Parameters:

ParameterTypeDescription
valuefloat

accept(DocumentVisitor visitor)

public void accept(DocumentVisitor visitor)

Accepts the visitor of the node.

Parameters:

ParameterTypeDescription
visitorDocumentVisitorThe object of a class derived from the DocumentVisitor .

getChildNodes(int type)

public List<INode> getChildNodes(int type)

Parameters:

ParameterTypeDescription
typeint

Returns: java.util.List<com.aspose.note.INode>

getChildNodes(Class typeParameterClass)

public List<T1> <T1>getChildNodes(Class<T1> typeParameterClass)

Get all child nodes by the node type.

Parameters:

ParameterTypeDescription
typeParameterClassjava.lang.Class

Returns: java.util.List - A list of child nodes.

T1 : The type of elements in the returned list.

iterator()

public final System.Collections.Generic.IGenericEnumerator<RichText> iterator()

Returns an enumerator that iterates through child nodes of the Title.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.note.RichText> - The IEnumerator.