fi.hut.tml.xsmiles.gui.met
Class GUIImpl
java.lang.Object
fi.hut.tml.xsmiles.gui.XSmilesUIAWT
fi.hut.tml.xsmiles.gui.swing.XSmilesUI
fi.hut.tml.xsmiles.gui.met.GUIImpl
- All Implemented Interfaces:
- GUI
- Direct Known Subclasses:
- Metouia
- public class GUIImpl
- extends XSmilesUI
Base class for both MetouiaGUI and BrowserTab (both offer the same
contentHandlers etc, but the BrowserTab doesn't do the Tabbing or frame
also this takes care of adding and removing tabs
| Methods inherited from class fi.hut.tml.xsmiles.gui.XSmilesUIAWT |
addGUIEventListener, browserReady, browserWorking, destroy, displayKeypad, fireLatestEvents, hideKeypad, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setLocation, setSkinsIfNeeded, setSkinsIfNeeded, setStatusText, setTitle, 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, hideKeypad, moveActiveLinkDown, moveActiveLinkUp, openInNewTab, openInNewWindow, reDrawGUI, registerFocusPointProvider, removeGUIEventListener, setEnabledBack, setEnabledForward, setEnabledHome, setEnabledReload, setEnabledStop, setLocation, setSkinsIfNeeded, setStatusText, setTitle, start, unRegisterFocusPointProvider |
browser
protected BrowserWindow browser
GUIImpl
public GUIImpl(BrowserWindow b)
- Constructor
GUIImpl
public GUIImpl(BrowserWindow b,
java.awt.Container c)
setGUIWindow
public void setGUIWindow(Metouia g)
getGUIWindow
public Metouia getGUIWindow()
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
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
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
getWindow
public java.awt.Window getWindow()
- Specified by:
getWindow in interface GUI- Specified by:
getWindow in class XSmilesUIAWT
- Returns:
- the Frame of the GUI.
shouldReloadAtStartup
public boolean shouldReloadAtStartup()
- Specified by:
shouldReloadAtStartup in interface GUI- Overrides:
shouldReloadAtStartup in class XSmilesUIAWT
- Returns:
- whether or not this gui should be instructed to reload.
XMLGUI should return false, since it creates an extra content area and
browser for the content
X-Smiles 1.2