Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

com :: sun :: star :: awt ::

interface XView

Base Interface
com::sun::star::uno::XInterface

Description
makes it possible to attach an oputput device to the object.

This kind of object is called view-object.

See also
XViewable


Known Services which Export this Interface

com::sun::star::awt::UnoControl specifies an abstract control.

Methods' Summary

setGraphics sets the output device.
getGraphics
getSize
draw draws the object at the specified position.
setZoom sets the zoom factor.

Methods' Details

setGraphics
 
boolean
setGraphics(
[ in ] com::sun::star::awt::XGraphics aDevice );

Description
sets the output device.
See also
XView::getDevice
getGraphics
 
com::sun::star::awt::XGraphics
getGraphics();
Returns
the output device which was set using the method XView::setGraphics()
See also
XView::setDevice
getSize
 
com::sun::star::awt::Size
getSize();
Returns
the size of the object in device units. A device must be set before.
See also
XView::draw
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.

See also
XView::getSize
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