Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

nui::TAbstractDialog Class Reference

Base dialog class. More...

Inheritance diagram for nui::TAbstractDialog:

nui::TUserAuthenticationDialog List of all members.

Public Methods

 TAbstractDialog (JFrame tFRAME_OWNER, String yTITLE, TAbstractController tCONTROLLER, boolean gIS_MODAL)
void addToVerifieds (JComponent tCOMPONENT)
void initialize ()
 Initializes dialog.

void attachToObservable ()
void detachFromObservable ()
boolean isValid ()
Border createBorder ()

Protected Attributes

TAbstractController tController
JPanel tMainPanel

Static Protected Attributes

final int _kiEmptyBorderLength = 10
 Basic empty border space length.


Detailed Description

Base dialog class.

Definition at line 46 of file TAbstractDialog.java.


Constructor & Destructor Documentation

nui::TAbstractDialog::TAbstractDialog JFrame    tFRAME_OWNER,
String    yTITLE,
TAbstractController    tCONTROLLER,
boolean    gIS_MODAL
[inline]
 

Builds a new instance.

Parameters:
tFRAME_OWNER  Owner of the dialog.
yTITLE  Title of the dialog.
tCONTROLLER  Controller instance.
gIS_MODAL  True if the dialog is modal (it does not permit other interaction with the application).

Definition at line 83 of file TAbstractDialog.java.

References nui::TAbstractDialog::_kiEmptyBorderLength, nui::TAbstractDialog::tController, and nui::TAbstractDialog::tMainPanel.


Member Function Documentation

void nui::TAbstractDialog::addToVerifieds JComponent    tCOMPONENT [inline]
 

Adds a component to the container of components to be verified.

Parameters:
tCOMPONENT  Component to be verified.

Definition at line 102 of file TAbstractDialog.java.

void nui::TAbstractDialog::attachToObservable   [inline]
 

Adds the dialog to the observed objects.

See also:
java.util.Observer.

Definition at line 114 of file TAbstractDialog.java.

Border nui::TAbstractDialog::createBorder   [inline]
 

Creates a compound border.

Returns:
A compound border.

Definition at line 160 of file TAbstractDialog.java.

References nui::TAbstractDialog::_kiEmptyBorderLength.

void nui::TAbstractDialog::detachFromObservable   [inline]
 

Removes the dialog from the observed objects.

See also:
java.util.Observer.

Definition at line 120 of file TAbstractDialog.java.

boolean nui::TAbstractDialog::isValid   [inline]
 

Tests if the state of the dialog is valid.

Returns:
True if dialog state is valid.

Definition at line 131 of file TAbstractDialog.java.

References nui::TAbstractDialog::tController.


Member Data Documentation

TAbstractController nui::TAbstractDialog::tController [protected]
 

Controller instance.

See also:
org.mpcl.designpatterns.mvc.TAbstractController.

Definition at line 62 of file TAbstractDialog.java.

Referenced by nui::TAbstractDialog::isValid(), and nui::TAbstractDialog::TAbstractDialog().

JPanel nui::TAbstractDialog::tMainPanel [protected]
 

Main component container panel. It uses a border layout.

See also:
java.awt.BorderLayout.

Definition at line 68 of file TAbstractDialog.java.

Referenced by nui::TAbstractDialog::TAbstractDialog(), and nui::TUserAuthenticationDialog::TUserAuthenticationDialog().


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:35:27 2003 for MPCL by doxygen1.2.18