org.opensubsystems.core.application
Class ThickClientDialog

java.lang.Object
  extended by org.opensubsystems.core.application.ThickClientDialog

public class ThickClientDialog
extends java.lang.Object

Base class for thick client dialogs.

Version:
$Id: ThickClientDialog.java,v 1.6 2007/01/07 06:14:39 bastafidli Exp $
Author:
Miro Halas
Code reviewer:
Miro Halas
Code reviewed:
1.4 2006/04/06 13:44:18 bastafidli

Field Summary
protected  ThickClient m_client
          Thick client displaying this dialog.
protected  ThickClientDialogGui m_dialogGui
          Gui this dialog is using.
protected  ThickClientDialog m_parentDialog
          Thick client dialog displaying this dialog.
protected  java.lang.String m_strTitle
          Title of the dialog
 
Constructor Summary
ThickClientDialog(ThickClientDialog parentDialog, java.lang.String strTitle, java.lang.Class clsDialogGui)
          Constructor.
ThickClientDialog(ThickClient client, java.lang.String strTitle, java.lang.Class clsDialogGui)
          Constructor.
 
Method Summary
 ThickClient getClient()
          Get client application displaying this dialog.
 ThickClientDialogGui getGui()
          Get gui for this dialog.
 ThickClientDialog getParentDialog()
          Get parent dialog displaying this dialog.
 java.lang.String getTitle()
          Get title of the dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_client

protected ThickClient m_client
Thick client displaying this dialog.


m_parentDialog

protected ThickClientDialog m_parentDialog
Thick client dialog displaying this dialog.


m_strTitle

protected java.lang.String m_strTitle
Title of the dialog


m_dialogGui

protected ThickClientDialogGui m_dialogGui
Gui this dialog is using.

Constructor Detail

ThickClientDialog

public ThickClientDialog(ThickClient client,
                         java.lang.String strTitle,
                         java.lang.Class clsDialogGui)
                  throws OSSException
Constructor.

Parameters:
client - - application displaying this dialog
strTitle - - title of this dialog
clsDialogGui - - class representing dialog gui. This class will be instantiated dynamically using gui technology dependent factory.
Throws:
OSSException - - an error has occured

ThickClientDialog

public ThickClientDialog(ThickClientDialog parentDialog,
                         java.lang.String strTitle,
                         java.lang.Class clsDialogGui)
                  throws OSSException
Constructor.

Parameters:
parentDialog - - parent dialog displaying this dialog
strTitle - - title of this dialog
clsDialogGui - - class representing dialog gui. This class will be instantiated dynamically using gui technology dependent factory.
Throws:
OSSException - - an error has occured
Method Detail

getClient

public ThickClient getClient()
Get client application displaying this dialog. The dialog may not be displayed directly by application but may be instead displayed by a different dialog which was displayed by this application.

Returns:
ThickClientDialogGui

getParentDialog

public ThickClientDialog getParentDialog()
Get parent dialog displaying this dialog.

Returns:
ThickClientDialog - parent dialog displaying this dialog. If this dialog is displayed directly by application and this is the first level dialog then this method will return null.

getGui

public ThickClientDialogGui getGui()
Get gui for this dialog.

Returns:
ThickClientDialogGui

getTitle

public java.lang.String getTitle()
Get title of the dialog.

Returns:
String - title of the dialog


Copyright © 2003 - 2006 OpenSubsystems s.r.o.