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

Title()

public Title()

Initializes a new instance of the Title class.

<T1>getChildNodes(Class<T1> typeParameterClass)

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

Get all child nodes by the node type.

Parameters:

ParameterTypeDescription
typeParameterClassjava.lang.Class<T1>

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

T1: The type of elements in the returned list.

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>

getHorizontalOffset()

public final float getHorizontalOffset()

Gets or sets the horizontal offset.

Returns: float

getLastModifiedTime()

public Date getLastModifiedTime()

Gets or sets the last modified time.

Returns: java.util.Date

getTitleDate()

public final RichText getTitleDate()

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

Returns: RichText

getTitleText()

public RichText getTitleText()

Gets or sets the text of the title.

Returns: RichText

getTitleTime()

public final RichText getTitleTime()

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

Returns: RichText

getVerticalOffset()

public final float getVerticalOffset()

Gets or sets the vertical offset.

Returns: float

isComposite()

public boolean isComposite()

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

Returns: boolean

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.

setHorizontalOffset(float value)

public final void setHorizontalOffset(float value)

Gets or sets the horizontal offset.

Parameters:

ParameterTypeDescription
valuefloat

setLastModifiedTime(Date value)

public void setLastModifiedTime(Date value)

Gets or sets the last modified time.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setTitleDate(RichText value)

public final void setTitleDate(RichText value)

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

Parameters:

ParameterTypeDescription
valueRichText

setTitleText(RichText value)

public final void setTitleText(RichText value)

Gets or sets the text of the title.

Parameters:

ParameterTypeDescription
valueRichText

setTitleTime(RichText value)

public final void setTitleTime(RichText value)

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

Parameters:

ParameterTypeDescription
valueRichText

setVerticalOffset(float value)

public final void setVerticalOffset(float value)

Gets or sets the vertical offset.

Parameters:

ParameterTypeDescription
valuefloat