com.sdm.quasar.client.swing.embedding.features
Interface WindowResource

All Known Implementing Classes:
DialogWindowResource, FrameWindowResource

public interface WindowResource

Adapter interface for a WindowFeature to make it independent of the window implementation.

Version:
1.0
Author:
Martin Haft, sd&m AG, Thomas Wolf, sd&m AG, Bernd Olleck, sd&m AG

Method Summary
 java.awt.Window getWindow()
           
 void setWindowIcon(java.awt.Image icon)
          Sets the window's icon.
 void setWindowTitle(java.lang.String title)
          Sets the window's title
 

Method Detail

setWindowIcon

public void setWindowIcon(java.awt.Image icon)
Sets the window's icon.

Parameters:
icon - the icon to set as Image

setWindowTitle

public void setWindowTitle(java.lang.String title)
Sets the window's title

Parameters:
title - the new title of the window

getWindow

public java.awt.Window getWindow()
Returns:
the window instance, e.g. for modal dialogs