Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

com.arcle.rmt.superwaba.vc.DocumentWindowController Class Reference

The controller for DocumentWindow. More...

Inheritance diagram for com.arcle.rmt.superwaba.vc.DocumentWindowController:

com.arcle.rmt.superwaba.vc.ControllerBase List of all members.

Public Member Functions

 DocumentWindowController (Document doc)
void viewInitialized (View v)
 Called by the view showing that it has been initialized.

void cmdCloseWindow ()
 Handles the "Close" command.

void cmdDeleteDocument ()
 Handles the "Delete" command.

Document getDocument ()
 Returns the currently edited document.


Protected Member Functions

MessageBox createDeleteMessageBox ()
 Factory method to create Message Box for delete document operation.


Private Attributes

Document _document = null
 The document being edited.


Detailed Description

The controller for DocumentWindow.

Author:
Sasmito Adibowo
Version:
Id
DocumentWindowController.java,v 1.9 2003/05/15 19:44:08 adib Exp

Definition at line 84 of file DocumentWindowController.java.


Constructor & Destructor Documentation

com.arcle.rmt.superwaba.vc.DocumentWindowController.DocumentWindowController Document  doc  ) 
 

Definition at line 86 of file DocumentWindowController.java.

References com.arcle.rmt.superwaba.vc.DocumentWindowController._document.


Member Function Documentation

void com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdCloseWindow  ) 
 

Handles the "Close" command.

Definition at line 107 of file DocumentWindowController.java.

References com.arcle.rmt.superwaba.vc.ControllerBase.getView().

Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.onEvent().

void com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdDeleteDocument  ) 
 

Handles the "Delete" command.

Closes the document window and deletes the associated document..

Definition at line 117 of file DocumentWindowController.java.

References com.arcle.rmt.superwaba.vc.DocumentWindowController.createDeleteMessageBox(), com.arcle.rmt.superwaba.vc.DocumentWindowController.getDocument(), com.arcle.rmt.superwaba.vc.ControllerBase.getView(), and com.arcle.rmt.superwaba.model.Document.setDeleted().

Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.onEvent().

MessageBox com.arcle.rmt.superwaba.vc.DocumentWindowController.createDeleteMessageBox  )  [protected]
 

Factory method to create Message Box for delete document operation.

Definition at line 133 of file DocumentWindowController.java.

Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdDeleteDocument().

Document com.arcle.rmt.superwaba.vc.DocumentWindowController.getDocument  ) 
 

Returns the currently edited document.

Definition at line 152 of file DocumentWindowController.java.

References com.arcle.rmt.superwaba.vc.DocumentWindowController._document.

Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.cmdDeleteDocument(), and com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.getDocument().

void com.arcle.rmt.superwaba.vc.DocumentWindowController.viewInitialized View  v  ) 
 

Called by the view showing that it has been initialized.

Reimplemented from com.arcle.rmt.superwaba.vc.ControllerBase.

Definition at line 94 of file DocumentWindowController.java.

Referenced by com.arcle.rmt.superwaba.vc.AbstractDocumentWindow.initCompleted().


Member Data Documentation

Document com.arcle.rmt.superwaba.vc.DocumentWindowController._document = null [private]
 

The document being edited.

Definition at line 163 of file DocumentWindowController.java.

Referenced by com.arcle.rmt.superwaba.vc.DocumentWindowController.DocumentWindowController(), and com.arcle.rmt.superwaba.vc.DocumentWindowController.getDocument().


The documentation for this class was generated from the following file:
Generated on Fri Jun 18 19:55:25 2004 for Arcle Rambutan by doxygen 1.3.5