com.sdm.quasar.client.swing.embedding.features
Class DialogWindowResource

java.lang.Object
  extended bycom.sdm.quasar.client.swing.embedding.features.DialogWindowResource
All Implemented Interfaces:
WindowResource

public class DialogWindowResource
extends java.lang.Object
implements WindowResource

Version:
1.$Revision$
Author:
Thomas Wolf

Constructor Summary
DialogWindowResource(java.awt.Dialog dialog)
          Creates a new DialogWindowResource.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogWindowResource

public DialogWindowResource(java.awt.Dialog dialog)
Creates a new DialogWindowResource.

Method Detail

getWindow

public java.awt.Window getWindow()
Specified by:
getWindow in interface WindowResource
Returns:
the window instance, e.g. for modal dialogs
See Also:
WindowResource.getWindow()

setWindowIcon

public void setWindowIcon(java.awt.Image icon)
Description copied from interface: WindowResource
Sets the window's icon.

Specified by:
setWindowIcon in interface WindowResource
Parameters:
icon - the icon to set as Image
See Also:
WindowResource.setWindowIcon(java.awt.Image)

setWindowTitle

public void setWindowTitle(java.lang.String title)
Description copied from interface: WindowResource
Sets the window's title

Specified by:
setWindowTitle in interface WindowResource
Parameters:
title - the new title of the window
See Also:
WindowResource.setWindowTitle(java.lang.String)