Package com.independentsoft.office.odf
Class ErrorMessage
java.lang.Object
com.independentsoft.office.odf.ErrorMessage
Represents a message to display if a user tries to enter invalid content into a cell.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Contains a collection of Paragraph objects.getTitle()Gets the title of a help or error message.getType()Specifies the display of messages.booleanSpecifies whether a table is displayed.voidsetDisplayMessage(boolean displayMessage)Specifies whether a table is displayed.voidSets the title of a help or error message.voidsetType(MessageType type)Specifies the display of messages.toString()Converts the value of the current ErrorMessage object to its equivalent string representation.
-
Constructor Details
-
ErrorMessage
public ErrorMessage()Initializes a new instance of the ErrorMessage class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current ErrorMessage object to its equivalent string representation. -
getParagraphs
Contains a collection of Paragraph objects.- Returns:
- the paragraphs
-
getTitle
Gets the title of a help or error message.- Returns:
- the title
-
setTitle
Sets the title of a help or error message.- Parameters:
title- the new title
-
isDisplayMessage
public boolean isDisplayMessage()Specifies whether a table is displayed.- Returns:
- true, if is display message
-
setDisplayMessage
public void setDisplayMessage(boolean displayMessage)Specifies whether a table is displayed.- Parameters:
displayMessage- the new display message
-
getType
Specifies the display of messages.- Returns:
- the type
-
setType
Specifies the display of messages.- Parameters:
type- the new type
-