public class Bullet extends Object
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.
StyledText.setLineBullet(int, int, Bullet)
Modifier and Type | Field and Description |
---|---|
StyleRange |
style |
String |
text |
int |
type |
Constructor and Description |
---|
Bullet(int type,
StyleRange style)
Create a new bullet the specified style and type.
|
Bullet(StyleRange style)
Create a new bullet the specified style, the type is set to ST.BULLET_DOT.
|
public int type
public StyleRange style
public String text
public Bullet(StyleRange style)
style
- the styleIllegalArgumentException
- public Bullet(int type, StyleRange style)
style
- the styleIllegalArgumentException
- Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.