|
Eclipse Draw2d 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.NativeGraphicsSource
public final class NativeGraphicsSource
A graphics source that posts a paint request to the control rather than constructing GC on it directly. This allows the OS's native painting mechanism to be used directly, including any double-buffering that the OS may provide for free.
| Constructor Summary | |
|---|---|
NativeGraphicsSource(Control canvas)
Constructs a new graphics source on the given control. |
|
| Method Summary | |
|---|---|
void |
flushGraphics(Rectangle region)
Does nothing. |
Graphics |
getGraphics(Rectangle r)
Always returns null, because |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NativeGraphicsSource(Control canvas)
canvas - the control| Method Detail |
|---|
public Graphics getGraphics(Rectangle r)
null, because
getGraphics in interface GraphicsSourcer - The rectangular region
GraphicsSource.getGraphics(Rectangle)public void flushGraphics(Rectangle region)
flushGraphics in interface GraphicsSourceregion - The rectangular region that that no longer needs the GraphicsGraphicsSource.flushGraphics(Rectangle)
|
Eclipse Draw2d 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||