fi.hut.tml.xsmiles.gui.swing
Class XSmilesUI

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.XSmilesUIAWT
      extended byfi.hut.tml.xsmiles.gui.swing.XSmilesUI
All Implemented Interfaces:
GUI
Direct Known Subclasses:
FtvGUI, GUIImpl, IMode, MobileGUI, NewGUI, NullGUI, XMLGUI

public abstract class XSmilesUI
extends XSmilesUIAWT
implements GUI


Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT
browserWindow, contentHandlerFactory, focusPointProviders, guiEventListeners, latestLoc, latestTitle
 
Constructor Summary
XSmilesUI(BrowserWindow b)
           
XSmilesUI(BrowserWindow b, java.awt.Container c)
           
 
Method Summary
 void showErrorDialog(boolean isModal, java.lang.String heading, java.lang.String description)
          Show a popup dialog, whenever something fatal occurs..
 void showMessageDialog(boolean isModal, java.lang.String title, java.lang.String message, long timeToLiveMillis)
          GUI shows a popup error dialog.
 void showSource(XMLDocument doc, int mode, java.lang.String heading)
          The modes are from XSmilesView class
 
Methods inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT
addGUIEventListener, browserReady, browserWorking, destroy, displayKeypad, fireLatestEvents, getComponentFactory, getContentHandlerFactory, getMLFCControls, getWindow, hideKeypad, isTabbed, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setLocation, setSkinsIfNeeded, setSkinsIfNeeded, setStatusText, setTitle, shouldReloadAtStartup, showSourceStatic, start, unRegisterFocusPointProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.GUI
addGUIEventListener, browserReady, browserWorking, destroy, displayKeypad, fireLatestEvents, getComponentFactory, getContentHandlerFactory, getMLFCControls, getWindow, hideKeypad, isTabbed, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setLocation, setSkinsIfNeeded, setStatusText, setTitle, shouldReloadAtStartup, start, unRegisterFocusPointProvider
 

Constructor Detail

XSmilesUI

public XSmilesUI(BrowserWindow b,
                 java.awt.Container c)

XSmilesUI

public XSmilesUI(BrowserWindow b)
Method Detail

showMessageDialog

public void showMessageDialog(boolean isModal,
                              java.lang.String title,
                              java.lang.String message,
                              long timeToLiveMillis)
Description copied from interface: GUI
GUI shows a popup error dialog. ErrorHandling should call the Browser's showErrorDialog instead of this.

Specified by:
showMessageDialog in interface GUI
Overrides:
showMessageDialog in class XSmilesUIAWT

showErrorDialog

public void showErrorDialog(boolean isModal,
                            java.lang.String heading,
                            java.lang.String description)
Show a popup dialog, whenever something fatal occurs.. (with xsmiles this happens quite often ;)

Specified by:
showErrorDialog in interface GUI
Overrides:
showErrorDialog in class XSmilesUIAWT

showSource

public void showSource(XMLDocument doc,
                       int mode,
                       java.lang.String heading)
The modes are from XSmilesView class

Specified by:
showSource in interface GUI
Overrides:
showSource in class XSmilesUIAWT


X-Smiles 1.2