fi.hut.tml.xsmiles.gui.newgui
Class CMenu

java.lang.Object
  extended byjava.awt.MenuComponent
      extended byjava.awt.MenuBar
          extended byfi.hut.tml.xsmiles.gui.newgui.CMenu
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.MenuContainer, java.io.Serializable

public class CMenu
extends java.awt.MenuBar

A Lightweight menubar. Specific contruction for this GUI NOTE: Needs a lot more switching Includes menuitems and listening.

Version:
0.1
Author:
Juha Vierinen
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.MenuBar
java.awt.MenuBar.AccessibleAWTMenuBar
 
Nested classes inherited from class java.awt.MenuComponent
java.awt.MenuComponent.AccessibleAWTMenuComponent
 
Field Summary
static java.lang.String BOOKMARKS_VIEW
           
static java.lang.String BOOKMARKS_VIEW_FRAME
           
 
Constructor Summary
CMenu(GUI g, BrowserWindow b)
           
 
Method Summary
 void setStyleSheets()
          Update stylesheet references
 java.io.File showFileDialog(boolean save)
           
static java.net.URL toURL(java.io.File file)
           
 
Methods inherited from class java.awt.MenuBar
add, addNotify, countMenus, deleteShortcut, getAccessibleContext, getHelpMenu, getMenu, getMenuCount, getShortcutMenuItem, remove, remove, removeNotify, setHelpMenu, shortcuts
 
Methods inherited from class java.awt.MenuComponent
dispatchEvent, getFont, getName, getParent, getPeer, getTreeLock, paramString, postEvent, processEvent, setFont, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

BOOKMARKS_VIEW

public static final java.lang.String BOOKMARKS_VIEW
See Also:
Constant Field Values

BOOKMARKS_VIEW_FRAME

public static final java.lang.String BOOKMARKS_VIEW_FRAME
See Also:
Constant Field Values
Constructor Detail

CMenu

public CMenu(GUI g,
             BrowserWindow b)
Method Detail

showFileDialog

public java.io.File showFileDialog(boolean save)

setStyleSheets

public void setStyleSheets()
Update stylesheet references


toURL

public static java.net.URL toURL(java.io.File file)
                          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


X-Smiles 1.2