Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

openfuture.editxml.applet
Class RootController  view RootController download RootController.java

java.lang.Object
  extended byopenfuture.editxml.applet.AbsController
      extended byopenfuture.editxml.applet.RootController
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, java.awt.event.FocusListener, java.awt.event.ItemListener, javax.swing.event.ListSelectionListener

public class RootController
extends AbsController

Controller for the root panel.

Created: Fri Jul 06 06:42:23 2001

Version:
$Revision: 1.5 $

Field Summary
private  java.util.Hashtable documents
           
private  java.lang.String domainName
           
private  java.util.Hashtable domainTable
           
private  java.util.Hashtable entries
           
private  java.lang.String filename
           
private  java.util.Hashtable fileTable
           
private  LoadDialog loadDialog
           
private  java.lang.String oldKey
           
private  RootPanel panel
           
private  SaveAsDialog saveAsDialog
           
private  openfuture.editxml.servlet.EditorServletProxy servletProxy
           
 
Fields inherited from class openfuture.editxml.applet.AbsController
 
Constructor Summary
RootController(RootPanel panel, java.util.ResourceBundle resourceBundle, openfuture.editxml.servlet.EditorServletProxy servletProxy)
          Creates a new RootController instance.
 
Method Summary
 void dumpDocumentTree(javax.swing.text.Document doc)
          Dump a document to standard out.
 void dumpDocumentTree(javax.swing.text.Element parent)
          Dump a document to standard out.
 java.util.Hashtable getDocuments()
          Get the value of documents.
 java.lang.String getDomainName()
          Get the value of domainName.
 java.util.Hashtable getDomainTable()
          Get the value of domainTable.
 java.util.Hashtable getEntries()
          Get the value of entries.
 java.lang.String getFilename()
          Get the value of filename.
 java.util.Hashtable getFileTable()
          Get the value of fileTable.
 LoadDialog getLoadDialog()
          Get the value of loadDialog.
 java.lang.String getOldKey()
          Get the value of oldKey.
 RootPanel getPanel()
          Get the value of panel.
 SaveAsDialog getSaveAsDialog()
          Get the value of saveAsDialog.
 openfuture.editxml.servlet.EditorServletProxy getServletProxy()
          Get the value of servletProxy.
(package private)  void handleEvents(java.util.EventObject event, java.lang.Object source, java.lang.String name)
          Central event handler.
 void setDocuments(java.util.Hashtable v)
          Set the value of documents.
 void setDomainName(java.lang.String v)
          Set the value of domainName.
 void setDomainTable(java.util.Hashtable v)
          Set the value of domainTable.
 void setEntries(java.util.Hashtable v)
          Set the value of entries.
 void setFilename(java.lang.String v)
          Set the value of filename.
 void setFileTable(java.util.Hashtable v)
          Set the value of fileTable.
 void setLoadDialog(LoadDialog v)
          Set the value of loadDialog.
 void setOldKey(java.lang.String v)
          Set the value of oldKey.
 void setPanel(RootPanel v)
          Set the value of panel.
 void setSaveAsDialog(SaveAsDialog v)
          Set the value of saveAsDialog.
 void setServletProxy(openfuture.editxml.servlet.EditorServletProxy v)
          Set the value of servletProxy.
 
Methods inherited from class openfuture.editxml.applet.AbsController
actionPerformed, focusGained, focusLost, getIgnoreEvents, getResourceBundle, getView, init, itemStateChanged, setIgnoreEvents, setResourceBundle, setView, showError, showError, showMessage, showMessage, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domainName

private java.lang.String domainName

filename

private java.lang.String filename

domainTable

private java.util.Hashtable domainTable

fileTable

private java.util.Hashtable fileTable

entries

private java.util.Hashtable entries

documents

private java.util.Hashtable documents

panel

private RootPanel panel

oldKey

private java.lang.String oldKey

servletProxy

private openfuture.editxml.servlet.EditorServletProxy servletProxy

loadDialog

private LoadDialog loadDialog

saveAsDialog

private SaveAsDialog saveAsDialog
Constructor Detail

RootController

public RootController(RootPanel panel,
                      java.util.ResourceBundle resourceBundle,
                      openfuture.editxml.servlet.EditorServletProxy servletProxy)
Creates a new RootController instance. Initializes the XML domains 55 and file table 55 .

Method Detail

handleEvents

void handleEvents(java.util.EventObject event,
                  java.lang.Object source,
                  java.lang.String name)
Central event handler.

Specified by:
handleEvents in class AbsController

dumpDocumentTree

public void dumpDocumentTree(javax.swing.text.Document doc)
Dump a document to standard out.


dumpDocumentTree

public void dumpDocumentTree(javax.swing.text.Element parent)
Dump a document to standard out.


getDomainName

public java.lang.String getDomainName()
Get the value of domainName.


setDomainName

public void setDomainName(java.lang.String v)
Set the value of domainName.


getFilename

public java.lang.String getFilename()
Get the value of filename.


setFilename

public void setFilename(java.lang.String v)
Set the value of filename.


getPanel

public RootPanel getPanel()
Get the value of panel.


setPanel

public void setPanel(RootPanel v)
Set the value of panel.


getServletProxy

public openfuture.editxml.servlet.EditorServletProxy getServletProxy()
Get the value of servletProxy.


setServletProxy

public void setServletProxy(openfuture.editxml.servlet.EditorServletProxy v)
Set the value of servletProxy.


getDomainTable

public java.util.Hashtable getDomainTable()
Get the value of domainTable.


setDomainTable

public void setDomainTable(java.util.Hashtable v)
Set the value of domainTable.


getFileTable

public java.util.Hashtable getFileTable()
Get the value of fileTable.


setFileTable

public void setFileTable(java.util.Hashtable v)
Set the value of fileTable.


getEntries

public java.util.Hashtable getEntries()
Get the value of entries.


setEntries

public void setEntries(java.util.Hashtable v)
Set the value of entries.


getDocuments

public java.util.Hashtable getDocuments()
Get the value of documents.


setDocuments

public void setDocuments(java.util.Hashtable v)
Set the value of documents.


getOldKey

public java.lang.String getOldKey()
Get the value of oldKey.


setOldKey

public void setOldKey(java.lang.String v)
Set the value of oldKey.


getLoadDialog

public LoadDialog getLoadDialog()
Get the value of loadDialog.


setLoadDialog

public void setLoadDialog(LoadDialog v)
Set the value of loadDialog.


getSaveAsDialog

public SaveAsDialog getSaveAsDialog()
Get the value of saveAsDialog.


setSaveAsDialog

public void setSaveAsDialog(SaveAsDialog v)
Set the value of saveAsDialog.