|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.custom.Bullet
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.
StyledText.setLineBullet(int, int, Bullet)
Field Summary | |
---|---|
StyleRange |
style
|
String |
text
|
int |
type
|
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int type
public StyleRange style
public String text
Constructor Detail |
public Bullet(StyleRange style)
style
- the style
IllegalArgumentException
- public Bullet(int type, StyleRange style)
style
- the style
IllegalArgumentException
- Method Detail |
public int hashCode()
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.