Changeset 246:fd9c62a2998e for dwt/custom/Bullet.d
- Timestamp:
- 07/01/08 04:15:59 (6 months ago)
- Files:
-
- dwt/custom/Bullet.d (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/custom/Bullet.d
r212 r246 1 1 /******************************************************************************* 2 * Copyright (c) 2000, 200 6IBM Corporation and others.2 * Copyright (c) 2000, 2008 IBM Corporation and others. 3 3 * All rights reserved. This program and the accompanying materials 4 4 * are made available under the terms of the Eclipse Public License v1.0 … … 34 34 * 35 35 * @see StyledText#setLineBullet(int, int, Bullet) 36 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 36 37 * 37 38 * @since 3.2 38 39 */ 39 40 public class Bullet { 41 /** 42 * The bullet type. Possible values are: 43 * <ul> 44 * <li><code>ST.BULLET_DOT</code></li> 45 * <li><code>ST.BULLET_NUMBER</code></li> 46 * <li><code>ST.BULLET_LETTER_LOWER</code></li> 47 * <li><code>ST.BULLET_LETTER_UPPER</code></li> 48 * <li><code>ST.BULLET_TEXT</code></li> 49 * <li><code>ST.BULLET_CUSTOM</code></li> 50 * </ul> 51 */ 40 52 public int type; 53 54 /** 55 * The bullet style. 56 */ 41 57 public StyleRange style; 58 59 /** 60 * The bullet text. 61 */ 42 62 public String text; 63 43 64 int[] linesIndices; 44 65 int count; 45 66 46 67 /** 47 * Create a new bullet the specified style, the type is set to ST.BULLET_DOT.68 * Create a new bullet with the specified style, and type <code>ST.BULLET_DOT</code>. 48 69 * The style must have a glyph metrics set. 49 70 * … … 61 82 * The style must have a glyph metrics set. 62 83 * 84 * @param type the bullet type 63 85 * @param style the style 64 86 *
