Top Description Fields Constructors Methods
com.sun.star.comp.beans

pack-priv Class JavaWindowPeerFake

extends Object
implements com.sun.star.awt.XSystemDependentWindowPeer, com.sun.star.awt.XWindowPeer
Class Inheritance
Imports
com.sun.star.uno.*, com.sun.star.awt.*

Class to pass the system window handle to the OpenOffice.org toolkit.

Since
OOo 2.0.0

Field Summary

Modifier and TypeField and Description
protected int
protected Any

Constructor Summary

AccessConstructor and Description
public
JavaWindowPeerFake(Any
the system handle to the window.
_hWindow
,
int
specifies the system type.
_systemType
)

Create the faked window peer.

Method Summary

Modifier and TypeMethod and Description
public void
addEventListener(com.sun.star.lang.XEventListener xListener)

not really needed.

public void
dispose()

not really needed.

public com.sun.star.awt.XToolkit
getToolkit()

not really needed.

public Object
getWindowHandle(byte[] ProcessId, short SystemType)

Implementation of XSystemDependentWindowPeer (that's all we really need) This method is called back from the OpenOffice.org toolkit to retrieve the system data.

public void
invalidate(short Flags)

not really needed.

public void
invalidateRect(com.sun.star.awt.Rectangle Rect, short Flags)

not really needed.

public void
removeEventListener(com.sun.star.lang.XEventListener aListener)

not really needed.

public void
setBackground(int Color)

not really needed.

public void
setPointer(com.sun.star.awt.XPointer Pointer)

not really needed.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

localSystemTypeback to summary
protected int localSystemType
wrappedHandleback to summary
protected Any wrappedHandle

Constructor Detail

JavaWindowPeerFakeback to summary
public JavaWindowPeerFake(Any _hWindow, int _systemType)

Create the faked window peer.

Parameters
_hWindow:Any

the system handle to the window.

_systemType:int

specifies the system type.

Method Detail

addEventListenerback to summary
public void addEventListener(com.sun.star.lang.XEventListener xListener) throws com.sun.star.uno.RuntimeException

not really needed.

disposeback to summary
public void dispose() throws com.sun.star.uno.RuntimeException

not really needed.

getToolkitback to summary
public com.sun.star.awt.XToolkit getToolkit() throws com.sun.star.uno.RuntimeException

not really needed.

getWindowHandleback to summary
public Object getWindowHandle(byte[] ProcessId, short SystemType) throws com.sun.star.uno.RuntimeException

Implementation of XSystemDependentWindowPeer (that's all we really need)

This method is called back from the OpenOffice.org toolkit to retrieve the system data.
invalidateback to summary
public void invalidate(short Flags) throws com.sun.star.uno.RuntimeException

not really needed.

invalidateRectback to summary
public void invalidateRect(com.sun.star.awt.Rectangle Rect, short Flags) throws com.sun.star.uno.RuntimeException

not really needed.

removeEventListenerback to summary
public void removeEventListener(com.sun.star.lang.XEventListener aListener) throws com.sun.star.uno.RuntimeException

not really needed.

setBackgroundback to summary
public void setBackground(int Color) throws com.sun.star.uno.RuntimeException

not really needed.

setPointerback to summary
public void setPointer(com.sun.star.awt.XPointer Pointer) throws com.sun.star.uno.RuntimeException

not really needed.