|
Eclipse Rich Ajax Platform Release 1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.swt.graphics.Device
This class is the abstract superclass of all device objects, such as Display.
This class is not intended to be directly used by clients.
| Constructor Summary | |
Device()
|
|
| Method Summary | |
protected void |
checkDevice()
|
void |
dispose()
|
Rectangle |
getBounds()
Returns a rectangle describing the receiver's size and location. |
Rectangle |
getClientArea()
Returns a rectangle which describes the area of the receiver which is capable of displaying data. |
Color |
getSystemColor(int id)
Returns the matching standard color for the given constant, which should be one of the color constants specified in class SWT. |
Font |
getSystemFont()
Returns a reasonable font for applications to use. |
boolean |
isDisposed()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Device()
| Method Detail |
public Color getSystemColor(int id)
SWT. Any value other
than one of the SWT color constants which is passed
in will result in the color black. This color should
not be free'd because it was allocated by the system,
not the application.
id - the color constant
SWTException - SWTpublic Font getSystemFont()
Typically, applications which want the default look should simply not set the font on the widgets they create. Widgets are always created with the correct default font for the class of user-interface component they represent.
SWTException - public Rectangle getClientArea()
SWTException - getBounds()public Rectangle getBounds()
SWTException - public void dispose()
public boolean isDisposed()
protected void checkDevice()
|
Eclipse Rich Ajax Platform Release 1.2 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.