1 11 package org.eclipse.swt.custom; 12 13 import org.eclipse.swt.events.*; 14 import org.eclipse.swt.graphics.*; 15 16 21 public class PaintObjectEvent extends TypedEvent { 22 23 26 public GC gc; 27 28 31 public int x; 32 33 36 public int y; 37 38 41 public int ascent; 42 43 46 public int descent; 47 48 51 public StyleRange style; 52 53 56 public Bullet bullet; 57 58 61 public int bulletIndex; 62 63 static final long serialVersionUID = 3906081274027192855L; 64 65 public PaintObjectEvent(StyledTextEvent e) { 66 super(e); 67 gc = e.gc; 68 x = e.x; 69 y = e.y; 70 ascent = e.ascent; 71 descent = e.descent; 72 style = e.style; 73 bullet = e.bullet; 74 bulletIndex = e.bulletIndex; 75 } 76 } 77 | Popular Tags |