fi.hut.tml.xsmiles.gui
Class NullGUIAWT
java.lang.Object
fi.hut.tml.xsmiles.gui.XSmilesUIAWT
fi.hut.tml.xsmiles.gui.NullGUIAWT
- All Implemented Interfaces:
- GUI
- public class NullGUIAWT
- extends XSmilesUIAWT
A stub GUI. The main function is to send events to third party GUIs and also to provide default implementations of the ComponentFactory and ContentHandler
classes.
- Author:
- Juha, Mikko Honkala
|
Field Summary |
protected java.awt.Window |
window
Return mainFrame |
| Methods inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT |
addGUIEventListener, browserReady, browserWorking, displayKeypad, fireLatestEvents, hideKeypad, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setSkinsIfNeeded, setSkinsIfNeeded, setStatusText, setTitle, shouldReloadAtStartup, showErrorDialog, showMessageDialog, showSource, showSourceStatic, start, unRegisterFocusPointProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
window
protected java.awt.Window window
- Return mainFrame
NullGUIAWT
public NullGUIAWT(BrowserWindow b,
java.awt.Container c)
- Parameters:
b - the BrowserWindowc - componentContainer (optional)
NullGUIAWT
public NullGUIAWT(BrowserWindow b)
- Parameters:
b - the BrowserWindow
getBrowserConstraints
public BrowserConstraints getBrowserConstraints()
setLocation
public void setLocation(java.lang.String s)
- Specified by:
setLocation in interface GUI- Overrides:
setLocation in class XSmilesUIAWT
getContentHandlerFactory
public ContentHandlerFactory getContentHandlerFactory()
- Specified by:
getContentHandlerFactory in interface GUI- Overrides:
getContentHandlerFactory in class XSmilesUIAWT
- Returns:
- ContentHandler creates players for certain mime types
- See Also:
ContentHandlerFactory
isTabbed
public boolean isTabbed()
- Description copied from interface:
GUI
- Can gui accommodate several content areas within one frame
- Specified by:
isTabbed in interface GUI- Overrides:
isTabbed in class XSmilesUIAWT
getWindow
public java.awt.Window getWindow()
- Specified by:
getWindow in interface GUI- Specified by:
getWindow in class XSmilesUIAWT
- Returns:
- the Frame of the GUI.
setWindow
public void setWindow(java.awt.Window win)
destroy
public void destroy()
- Description copied from interface:
GUI
- Destroy The GUI (delete frame, etc)
- Specified by:
destroy in interface GUI- Overrides:
destroy in class XSmilesUIAWT
getComponentFactory
public ComponentFactory getComponentFactory()
- Description copied from class:
XSmilesUIAWT
- Default components. If GUI has a special component deployment sceme, then
they should override the fi.hut.tml.xsmiles.gui.components.ComponentFactory
in neccecary places.
- Specified by:
getComponentFactory in interface GUI- Specified by:
getComponentFactory in class XSmilesUIAWT
- Returns:
- A ComponentFactory which is capable of returning all components needed
by MLFCs, or any other non-GUI package classes.
- See Also:
ComponentFactory
getMLFCControls
public MLFCControls getMLFCControls()
- Specified by:
getMLFCControls in interface GUI- Specified by:
getMLFCControls in class XSmilesUIAWT
X-Smiles 1.2