:: com :: sun :: star :: awt ::
|
| interface XView |
|
- Description
- makes it possible to attach an oputput device to the object.
This kind of object is called view-object.
|
| Methods' Details |
setGraphics
| boolean |
| setGraphics( |
[in] XGraphics |
aDevice ); |
- Description
- sets the output device.
|
|
getGraphics
- Description
- returns the output device which was set using the method
XView::setGraphics.
|
|
getSize
- Description
- returns the size of the object in device units.
A device must be set before.
|
|
draw
| [oneway] void |
| draw( |
[in] long |
nX, |
| [in] long |
nY ); |
- Description
- draws the object at the specified position.
If the output should be clipped, the caller has to set the
clipping region.
|
|
setZoom
| [oneway] void |
| setZoom( |
[in] float |
fZoomX, |
| [in] float |
fZoomY ); |
- Description
- sets the zoom factor.
The zoom factor only affects the content of the view, not the size.
|
|
Top of Page
Copyright © 1995, 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.