NumberList
Inheritance: java.lang.Object
public class NumberList
Represents the numbered or bulleted list.
Constructors
Constructor | Description |
---|---|
NumberList(String bulletedSymbol, String font, int fontSize) | Initializes a new instance of the NumberList class. |
NumberList(String format, byte numberFormat, String font, int fontSize) | Initializes a new instance of the NumberList class. |
Methods
Method | Description |
---|---|
getLastModifiedTime() | Gets or sets the last modified time. |
setLastModifiedTime(Date value) | Gets or sets the last modified time. |
getFont() | Gets or sets the name of the font. |
setFont(String value) | Gets or sets the name of the font. |
getNumberFormat() | Gets or sets the number format used for a group of automatically numbered objects. |
setNumberFormat(Byte value) | Gets or sets the number format used for a group of automatically numbered objects. |
getFormat() | Gets or sets the format of the line header. |
setFormat(String value) | Gets or sets the format of the line header. |
isBold() | Gets or sets a value indicating whether the text style is bold. |
setBold(boolean value) | Gets or sets a value indicating whether the text style is bold. |
isItalic() | Gets or sets a value indicating whether the text style is italic. |
setItalic(boolean value) | Gets or sets a value indicating whether the text style is italic. |
getFontSize() | Gets or sets the font size. |
setFontSize(int value) | Gets or sets the font size. |
getFontColor() | Gets or sets the font color. |
setFontColor(Color value) | Gets or sets the font color. |
getRestart() | Gets or sets the numeric value that overrides the automatic number value of the list item. |
setRestart(int value) | Gets or sets the numeric value that overrides the automatic number value of the list item. |
getNumberedListHeader(int sequenceNumber) | Gets the numbered list header. |
equals(Object obj) | Determines whether the specified object is equal to the current object. |
equals(NumberList other) | Determines whether the specified object is equal to the current object. |
hashCode() | Serves as a hash function for the type. |
NumberList(String bulletedSymbol, String font, int fontSize)
public NumberList(String bulletedSymbol, String font, int fontSize)
Initializes a new instance of the NumberList class. This instance represents a bulleted list.
Parameters:
Parameter | Type | Description |
---|---|---|
bulletedSymbol | java.lang.String | A symbol which represents a bullet. |
font | java.lang.String | A font for the bullet. |
fontSize | int | A font size for the bullet. |
NumberList(String format, byte numberFormat, String font, int fontSize)
public NumberList(String format, byte numberFormat, String font, int fontSize)
Initializes a new instance of the NumberList class. This instance represents a numbered list.
Parameters:
Parameter | Type | Description |
---|---|---|
format | java.lang.String | The format of the numbered header. |
numberFormat | byte | The format of the number in header. |
font | java.lang.String | A font for the numbered header. |
fontSize | int | A font size for the numbered header. |
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 |
getFont()
public String getFont()
Gets or sets the name of the font.
Returns: java.lang.String
setFont(String value)
public void setFont(String value)
Gets or sets the name of the font.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
getNumberFormat()
public Byte getNumberFormat()
Gets or sets the number format used for a group of automatically numbered objects. Should be null for bulleted lists.
Returns: java.lang.Byte
setNumberFormat(Byte value)
public void setNumberFormat(Byte value)
Gets or sets the number format used for a group of automatically numbered objects. Should be null for bulleted lists.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Byte |
getFormat()
public String getFormat()
Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.
Returns: java.lang.String
setFormat(String value)
public void setFormat(String value)
Gets or sets the format of the line header. For bulleted lists represents a bullet symbol.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
isBold()
public boolean isBold()
Gets or sets a value indicating whether the text style is bold.
Returns: boolean
setBold(boolean value)
public void setBold(boolean value)
Gets or sets a value indicating whether the text style is bold.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
isItalic()
public boolean isItalic()
Gets or sets a value indicating whether the text style is italic.
Returns: boolean
setItalic(boolean value)
public void setItalic(boolean value)
Gets or sets a value indicating whether the text style is italic.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getFontSize()
public int getFontSize()
Gets or sets the font size.
Returns: int
setFontSize(int value)
public void setFontSize(int value)
Gets or sets the font size.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFontColor()
public Color getFontColor()
Gets or sets the font color.
Returns: java.awt.Color
setFontColor(Color value)
public void setFontColor(Color value)
Gets or sets the font color.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.awt.Color |
getRestart()
public int getRestart()
Gets or sets the numeric value that overrides the automatic number value of the list item.
Returns: int
setRestart(int value)
public void setRestart(int value)
Gets or sets the numeric value that overrides the automatic number value of the list item.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getNumberedListHeader(int sequenceNumber)
public String getNumberedListHeader(int sequenceNumber)
Gets the numbered list header.
Parameters:
Parameter | Type | Description |
---|---|---|
sequenceNumber | int | The sequence number in the numbered list. |
Returns: java.lang.String - A string representation of the specified sequence number.
equals(Object obj)
public boolean equals(Object obj)
Determines whether the specified object is equal to the current object.
Parameters:
Parameter | Type | Description |
---|---|---|
obj | java.lang.Object | The object. |
Returns: boolean - The bool .
equals(NumberList other)
public boolean equals(NumberList other)
Determines whether the specified object is equal to the current object.
Parameters:
Parameter | Type | Description |
---|---|---|
other | NumberList | The object. |
Returns: boolean - The bool .
hashCode()
public int hashCode()
Serves as a hash function for the type.
Returns: int - The int .