Mercurial > projects > dwt-win
diff dwt/custom/Bullet.d @ 246:fd9c62a2998e
Updater SWT 3.4M7 to 3.4
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 01 Jul 2008 10:15:59 +0200 |
parents | ab60f3309436 |
children | 349b8c12e243 |
line wrap: on
line diff
--- a/dwt/custom/Bullet.d Tue Jul 01 08:58:50 2008 +0200 +++ b/dwt/custom/Bullet.d Tue Jul 01 10:15:59 2008 +0200 @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2006 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -33,18 +33,39 @@ * </p> * * @see StyledText#setLineBullet(int, int, Bullet) + * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> * * @since 3.2 */ public class Bullet { + /** + * The bullet type. Possible values are: + * <ul> + * <li><code>ST.BULLET_DOT</code></li> + * <li><code>ST.BULLET_NUMBER</code></li> + * <li><code>ST.BULLET_LETTER_LOWER</code></li> + * <li><code>ST.BULLET_LETTER_UPPER</code></li> + * <li><code>ST.BULLET_TEXT</code></li> + * <li><code>ST.BULLET_CUSTOM</code></li> + * </ul> + */ public int type; + + /** + * The bullet style. + */ public StyleRange style; + + /** + * The bullet text. + */ public String text; + int[] linesIndices; int count; /** - * Create a new bullet the specified style, the type is set to ST.BULLET_DOT. + * Create a new bullet with the specified style, and type <code>ST.BULLET_DOT</code>. * The style must have a glyph metrics set. * * @param style the style @@ -60,6 +81,7 @@ * Create a new bullet the specified style and type. * The style must have a glyph metrics set. * + * @param type the bullet type * @param style the style * * @exception IllegalArgumentException <ul>