org.eclipse.swt.internal.theme
Class Theme
java.lang.Object
org.eclipse.swt.internal.theme.Theme
public class Theme
- extends java.lang.Object
Method Summary |
Rectangle |
computeTrim(GC gc,
DrawData data)
|
void |
dispose()
|
void |
drawBackground(GC gc,
Rectangle bounds,
DrawData data)
|
void |
drawFocus(GC gc,
Rectangle bounds,
DrawData data)
|
void |
drawImage(GC gc,
Rectangle bounds,
DrawData data,
Image image,
int flags)
|
void |
drawText(GC gc,
Rectangle bounds,
DrawData data,
java.lang.String text,
int flags)
|
Rectangle |
getBounds(int part,
Rectangle bounds,
DrawData data)
|
int |
getSelection(Point offset,
Rectangle bounds,
RangeDrawData data)
|
int |
hitBackground(Point position,
Rectangle bounds,
DrawData data)
|
boolean |
isDisposed()
|
Rectangle |
measureText(GC gc,
Rectangle bounds,
DrawData data,
java.lang.String text,
int flags)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Theme
public Theme(Device device)
computeTrim
public Rectangle computeTrim(GC gc,
DrawData data)
dispose
public void dispose()
drawBackground
public void drawBackground(GC gc,
Rectangle bounds,
DrawData data)
drawFocus
public void drawFocus(GC gc,
Rectangle bounds,
DrawData data)
drawImage
public void drawImage(GC gc,
Rectangle bounds,
DrawData data,
Image image,
int flags)
drawText
public void drawText(GC gc,
Rectangle bounds,
DrawData data,
java.lang.String text,
int flags)
getBounds
public Rectangle getBounds(int part,
Rectangle bounds,
DrawData data)
getSelection
public int getSelection(Point offset,
Rectangle bounds,
RangeDrawData data)
hitBackground
public int hitBackground(Point position,
Rectangle bounds,
DrawData data)
isDisposed
public boolean isDisposed()
measureText
public Rectangle measureText(GC gc,
Rectangle bounds,
DrawData data,
java.lang.String text,
int flags)