fi.hut.tml.xsmiles.gui.gui2.swing
Class SwingGUI

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.gui2.awt.AWTGUI
      extended byfi.hut.tml.xsmiles.gui.gui2.swing.SwingGUI
All Implemented Interfaces:
java.util.EventListener, GUIInterface, java.awt.event.KeyListener, XChangeListener
Direct Known Subclasses:
SwingAppletGUI

public class SwingGUI
extends AWTGUI

Author:
honkkis

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.gui2.awt.AWTGUI
aboutHelpMenu, backCommand, bookmarksMenu, changeGUIMenu, changeMediaMenu, changeStyleMenu, changeZoomMenu, config, configMenu, content_provider, currentTab, defaultSizeX, defaultSizeY, dialog, dialogClass, editBookmarksMenu, editMenu, editWebsearchMenu, exitMenu, fileCloseTabMenu, fileMenu, fileNewTabMenu, fileNewWindowMenu, focusManager, forwardCommand, goMenu, gui_provider, helpMenu, homeCommand, initialURL, menuBar, openFileMenu, platformHelpMenu, reloadCommand, rootContainer, saveFileMenu, searchURL, sethomepageMenu, stopCommand, stylesheetMenu, tabs, title, viewBookmarksMenu, viewHideGUIMenu, viewLogMenu, viewMenu, viewShowGUIMenu, viewSourceMenu, viewSpeechMenu, viewTreeMenu, viewXMLSourceMenu, viewXSLSourceMenu, xsmilesCommand, zoomFactor, zoomMinusMenu, zoomPlusMenu
 
Constructor Summary
SwingGUI()
           
 
Method Summary
protected  void addMenuBar()
           
protected  java.awt.Container createContainer()
           
protected  void createListeners()
           
protected  java.awt.Container createRootContainer()
           
 void decorateGUI()
           
protected  void disposeWindow()
           
protected  java.lang.String getComponentFactoryClassName()
           
protected  javax.swing.JComponent getFirstJComponent(java.awt.Container c)
           
protected  java.lang.String getGUIName()
           
protected  java.awt.Container getWindow()
           
protected  void initFocusManager()
           
 boolean isTabbed()
           
protected  void registerKeyboardAction(javax.swing.KeyStroke stroke, java.lang.String cmd)
           
 void setTitle(java.lang.String title2)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.gui2.awt.AWTGUI
action, browserReady, closeAllTabs, closeCurrentTab, createContentFocusProvider, createFocusPointsProvider, createGUIMenu, createGUITab, createGUITabInternal, createMediaMenu, createMenuItem, createMenus, createNewTab, createStylesheetMenu, createZoomMenu, getBrowser, getBrowserWindow, getComponentFactory, getCurrentTab, getGUITabForComponent, getRootContainer, getTabbedPane, keyPressed, keyReleased, keyTyped, listenForWindowClose, newBrowserWindow, openInNewTab, openInNewWindow, saveContent, setDefaultWindowSize, setFullScreen, setID, setInitialURL, setXMLConfigurer, show, showSource, updateStylesheetMenu, valueChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingGUI

public SwingGUI()
Method Detail

getComponentFactoryClassName

protected java.lang.String getComponentFactoryClassName()
Overrides:
getComponentFactoryClassName in class AWTGUI

getGUIName

protected java.lang.String getGUIName()
Overrides:
getGUIName in class AWTGUI

initFocusManager

protected void initFocusManager()
Overrides:
initFocusManager in class AWTGUI

createContainer

protected java.awt.Container createContainer()
Overrides:
createContainer in class AWTGUI

decorateGUI

public void decorateGUI()
Overrides:
decorateGUI in class AWTGUI

getWindow

protected java.awt.Container getWindow()
Overrides:
getWindow in class AWTGUI

createRootContainer

protected java.awt.Container createRootContainer()
Overrides:
createRootContainer in class AWTGUI

disposeWindow

protected void disposeWindow()
Overrides:
disposeWindow in class AWTGUI

addMenuBar

protected void addMenuBar()
Overrides:
addMenuBar in class AWTGUI

createListeners

protected void createListeners()
Overrides:
createListeners in class AWTGUI

getFirstJComponent

protected javax.swing.JComponent getFirstJComponent(java.awt.Container c)

registerKeyboardAction

protected void registerKeyboardAction(javax.swing.KeyStroke stroke,
                                      java.lang.String cmd)

setTitle

public void setTitle(java.lang.String title2)
Overrides:
setTitle in class AWTGUI
Parameters:
title2 -

isTabbed

public boolean isTabbed()
Overrides:
isTabbed in class AWTGUI
Returns:


X-Smiles 1.2