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