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
Constructor | Description |
---|---|
Title() | Initializes a new instance of the Title class. |
Methods
Method | Description |
---|---|
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) | |
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:
Parameter | Type | Description |
---|---|---|
value | java.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:
Parameter | Type | Description |
---|---|---|
value | RichText |
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:
Parameter | Type | Description |
---|---|---|
value | RichText |
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:
Parameter | Type | Description |
---|---|---|
value | RichText |
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:
Parameter | Type | Description |
---|---|---|
value | float |
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:
Parameter | Type | Description |
---|---|---|
value | float |
accept(DocumentVisitor visitor)
public void accept(DocumentVisitor visitor)
Accepts the visitor of the node.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | DocumentVisitor | The object of a class derived from the DocumentVisitor . |
getChildNodes(int type)
public List<INode> getChildNodes(int type)
Parameters:
Parameter | Type | Description |
---|---|---|
type | int |
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:
Parameter | Type | Description |
---|---|---|
typeParameterClass | java.lang.Class |
Returns:
java.util.List
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.