NumberList

Inheritance: java.lang.Object

public class NumberList

Represents the numbered or bulleted list.

Constructors

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
bulletedSymboljava.lang.StringA symbol which represents a bullet.
fontjava.lang.StringA font for the bullet.
fontSizeintA 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:

ParameterTypeDescription
formatjava.lang.StringThe format of the numbered header.
numberFormatbyteThe format of the number in header.
fontjava.lang.StringA font for the numbered header.
fontSizeintA 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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
valueint

getNumberedListHeader(int sequenceNumber)

public String getNumberedListHeader(int sequenceNumber)

Gets the numbered list header.

Parameters:

ParameterTypeDescription
sequenceNumberintThe 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:

ParameterTypeDescription
objjava.lang.ObjectThe 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:

ParameterTypeDescription
otherNumberListThe object.

Returns: boolean - The bool .

hashCode()

public int hashCode()

Serves as a hash function for the type.

Returns: int - The int .