fi.hut.tml.xsmiles.mlfc.xforms.dialog
Class DynamicDialogHandler
java.lang.Object
fi.hut.tml.xsmiles.event.GUIEventAdapter
fi.hut.tml.xsmiles.mlfc.xforms.dialog.DynamicDialogHandler
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener, GUIEventListener, XSmilesDialog
- public class DynamicDialogHandler
- extends GUIEventAdapter
- implements XSmilesDialog, java.awt.event.ActionListener
This class is launched by the browser menu command.
It will listen for document changes in the browser window and if
XForms documents are loaded, it will start to present the form using the DialogUI.
The operation is as follows:
The focus is always in some XForms control or group. The options are
then all the active things that can be done with that group/control
- Author:
- honkkis
| Methods inherited from class fi.hut.tml.xsmiles.event.GUIEventAdapter |
browserReady, browserWorking, GUIEvent, openInNewTab, openInNewWindow, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setLocation, setStatusText, setTitle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myUI
protected DialogUI myUI
browser
protected BrowserWindow browser
previous
protected static DynamicDialogHandler previous
focusHandler
protected FocusHandler focusHandler
- the element which currently has the focus
DynamicDialogHandler
public DynamicDialogHandler()
setGlobalObject
public static void setGlobalObject(DynamicDialogHandler h)
setBrowserWindow
public void setBrowserWindow(BrowserWindow b)
- Specified by:
setBrowserWindow in interface XSmilesDialog
start
public void start()
- Specified by:
start in interface XSmilesDialog- Overrides:
start in class GUIEventAdapter
getCurrentDocument
protected org.w3c.dom.Document getCurrentDocument()
getUI
public DialogUI getUI()
createUI
protected void createUI()
removeListeners
protected void removeListeners()
createListeners
protected void createListeners()
destroy
public void destroy()
- Specified by:
destroy in interface XSmilesDialog- Overrides:
destroy in class GUIEventAdapter
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent arg0)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener
getBrowserWindow
public BrowserWindow getBrowserWindow()
- Specified by:
getBrowserWindow in interface XSmilesDialog
X-Smiles 1.2