Show
Ignore:
Timestamp:
07/01/08 04:15:59 (6 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Updater SWT 3.4M7 to 3.4

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/Bullet.d

    r212 r246  
    11/******************************************************************************* 
    2  * Copyright (c) 2000, 2006 IBM Corporation and others. 
     2 * Copyright (c) 2000, 2008 IBM Corporation and others. 
    33 * All rights reserved. This program and the accompanying materials 
    44 * are made available under the terms of the Eclipse Public License v1.0 
     
    3434 * 
    3535 * @see StyledText#setLineBullet(int, int, Bullet) 
     36 * @see <a href="http://www.eclipse.org/swt/">Sample code and further information</a> 
    3637 * 
    3738 * @since 3.2 
    3839 */ 
    3940public 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    */ 
    4052    public int type; 
     53 
     54    /** 
     55    * The bullet style. 
     56    */ 
    4157    public StyleRange style; 
     58 
     59    /** 
     60    * The bullet text. 
     61    */ 
    4262    public String text; 
     63 
    4364    int[] linesIndices; 
    4465    int count; 
    4566 
    4667/** 
    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>.  
    4869 * The style must have a glyph metrics set. 
    4970 * 
     
    6182 * The style must have a glyph metrics set. 
    6283 * 
     84 * @param type the bullet type 
    6385 * @param style the style 
    6486 *