jruby/docs BETA
org.eclipse.swt.custom 49
C AnimatedProgress
C BidiSegmentEvent
I BidiSegmentListener
C Bullet
C BusyIndicator
C CBanner
C CCombo
C CLabel
C CTabFolder
C CTabFolder2Adapter
I CTabFolder2Listener
C CTabFolderAdapter
C CTabFolderEvent
I CTabFolderListener
C CTabFolderRenderer
C CTabItem
C CaretEvent
I CaretListener
C ControlEditor
C ExtendedModifyEvent
I ExtendedModifyListener
C LineBackgroundEvent
I LineBackgroundListener
C LineStyleEvent
I LineStyleListener
C MovementEvent
I MovementListener
C PaintObjectEvent
I PaintObjectListener
C PopupList
C ST
C SashForm
C ScrolledComposite
C StackLayout
C StyleRange
C StyledText
I StyledTextContent
C StyledTextDropTargetEffect
I StyledTextLineSpacingProvider
C StyledTextPrintOptions
C TableCursor
C TableEditor
I TextChangeListener
C TextChangedEvent
C TextChangingEvent
C TreeCursor
C TreeEditor
I VerifyKeyListener
C ViewForm
Bullet — members 6
F type() int
F style() StyleRange
F text() String
C new(style)
C new(type, style)
M hash_code() int

org.eclipse.swt.custom.Bullet

class 6 members

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.

Fields

fieldtypenote
type int The bullet type. Possible values are:
  • ST.BULLET_DOT
  • ST.BULLET_NUMBER
  • ST.BULLET_LETTER_LOWER
  • ST.BULLET_LETTER_UPPER
  • ST.BULLET_TEXT
  • ST.BULLET_CUSTOM
style StyleRange The bullet style.
text String The bullet text.

Constructors

new

new ( StyleRange style )
Java: <init>(org.eclipse.swt.custom.StyleRange style)

Create a new bullet with the specified style, and type ST.BULLET_DOT. The style must have a glyph metrics set.

nametypedescription
styleorg.eclipse.swt.custom.StyleRangethe style

Throws

IllegalArgumentException
  • ERROR_NULL_ARGUMENT when the style or the glyph metrics are null

new

new ( int type, StyleRange style )
Java: <init>(int type, org.eclipse.swt.custom.StyleRange style)

Create a new bullet the specified style and type. The style must have a glyph metrics set.

nametypedescription
typeintthe bullet type
styleorg.eclipse.swt.custom.StyleRangethe style

Throws

IllegalArgumentException
  • ERROR_NULL_ARGUMENT when the style or the glyph metrics are null

Instance Methods

hash_code

int hash_code ( )
Java: hashCode()