Eclipse Platform
Release 3.1

org.eclipse.swt.custom
Class EmbeddedObject.Bullet

java.lang.Object
  extended byorg.eclipse.swt.custom.EmbeddedObject
      extended byorg.eclipse.swt.custom.EmbeddedObject.Bullet
Enclosing class:
EmbeddedObject

public static class EmbeddedObject.Bullet
extends EmbeddedObject


Nested Class Summary
 
Nested classes inherited from class org.eclipse.swt.custom.EmbeddedObject
EmbeddedObject.Bullet, EmbeddedObject.EmbeddedControl, EmbeddedObject.EmbeddedImage
 
Constructor Summary
EmbeddedObject.Bullet(int style, int level, int index)
           
 
Method Summary
 void draw(GC gc, int x, int y, int ascent, int descent)
           
 int getAdvance()
           
 int getAscent()
           
 int getDescent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedObject.Bullet

public EmbeddedObject.Bullet(int style,
                             int level,
                             int index)
Parameters:
style - bullet image, check mark image, number, roman,
Method Detail

getAscent

public int getAscent()
Specified by:
getAscent in class EmbeddedObject

getDescent

public int getDescent()
Specified by:
getDescent in class EmbeddedObject

getAdvance

public int getAdvance()
Specified by:
getAdvance in class EmbeddedObject

draw

public void draw(GC gc,
                 int x,
                 int y,
                 int ascent,
                 int descent)
Specified by:
draw in class EmbeddedObject

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.