Instances of this class represent bullets in the StyledText.
The hashCode() method in this class uses the values of the public fields to compute the hash value. When storing instances of the class in hashed collections, do not modify these fields after the object has been inserted.
Application code does not need to explicitly release the
resources managed by each instance when those instances are no longer
required, and thus no dispose() method is provided.
| field | type | note |
|---|---|---|
| type | int | The bullet type. Possible values are:
|
| style | StyleRange | The bullet style. |
| text | String | The bullet text. |
Create a new bullet with the specified style, and type ST.BULLET_DOT.
The style must have a glyph metrics set.
| name | type | description |
|---|---|---|
| style | org.eclipse.swt.custom.StyleRange | the style |
| IllegalArgumentException |
|
|
Create a new bullet the specified style and type. The style must have a glyph metrics set.
| name | type | description |
|---|---|---|
| type | int | the bullet type |
| style | org.eclipse.swt.custom.StyleRange | the style |
| IllegalArgumentException |
|
|
hashCode()