de.esw.eengine.device.render
Class WindowRenderDevice

java.lang.Object
  extended by de.esw.eengine.device.render.AbstractRenderDevice
      extended by de.esw.eengine.device.render.WindowRenderDevice
All Implemented Interfaces:
IRenderDevice

public class WindowRenderDevice
extends AbstractRenderDevice

Since:
1.0
Version:
$Id: WindowRenderDevice.java 175 2005-07-08 07:24:27Z markusw $
Author:
markusw

Constructor Summary
WindowRenderDevice()
           
 
Method Summary
 void attachInputDevice(IInputDevice inputDevice)
           
 boolean begin(boolean onScreen)
          Initializes the IRenderDevices render state.
 void detatchInputDevice(IInputDevice inputDevice)
           
 void flip()
          Flips front- and backbuffer
 java.awt.Insets getInsets()
           
 
Methods inherited from class de.esw.eengine.device.render.AbstractRenderDevice
begin, caputeScreen, clear, close, createImage, end, getExtents, getHeight, getPeer, getViewport, getWidth, isOpen, open, render, setViewport
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowRenderDevice

public WindowRenderDevice()
Method Detail

begin

public boolean begin(boolean onScreen)
Description copied from interface: IRenderDevice
Initializes the IRenderDevices render state.
Must be called before any rendering operation.

Specified by:
begin in interface IRenderDevice
Overrides:
begin in class AbstractRenderDevice
Parameters:
onScreen - If true, rendering happens in screen coordinates instead of world coordinates
Returns:
True if render state successful initalized
See Also:
AbstractRenderDevice.begin(boolean)

flip

public void flip()
Description copied from interface: IRenderDevice
Flips front- and backbuffer

See Also:
IRenderDevice.flip()

attachInputDevice

public void attachInputDevice(IInputDevice inputDevice)
Specified by:
attachInputDevice in interface IRenderDevice
Overrides:
attachInputDevice in class AbstractRenderDevice
Parameters:
inputDevice - Attaches the inputDevice to this IRenderDevice
See Also:
AbstractRenderDevice.attachInputDevice(de.esw.eengine.core.IInputDevice)

detatchInputDevice

public void detatchInputDevice(IInputDevice inputDevice)
Specified by:
detatchInputDevice in interface IRenderDevice
Overrides:
detatchInputDevice in class AbstractRenderDevice
Parameters:
inputDevice - Detaches the inputDevice from this IRenderDevice
See Also:
AbstractRenderDevice.detatchInputDevice(de.esw.eengine.core.IInputDevice)

getInsets

public java.awt.Insets getInsets()
Specified by:
getInsets in interface IRenderDevice
Overrides:
getInsets in class AbstractRenderDevice
Returns:
Insets to the client area
See Also:
AbstractRenderDevice.getInsets()