fi.hut.tml.xsmiles.gui.components.swing
Class SwingMenu

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.swing.SwingMenu
All Implemented Interfaces:
XMenu

public class SwingMenu
extends java.lang.Object
implements XMenu

Author:
Mikko Honkala

Constructor Summary
SwingMenu(java.lang.String menu)
           
 
Method Summary
 void add(XMenu menu)
          add submenu
 void add(XMenuItem menuitem)
          add menu choice
 void addSeparator()
           
 java.lang.Object getObject()
           
 void init()
           
 void remove(XMenu item)
           
 void remove(XMenuItem item)
           
 void removeAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingMenu

public SwingMenu(java.lang.String menu)
Method Detail

init

public void init()

add

public void add(XMenu menu)
Description copied from interface: XMenu
add submenu

Specified by:
add in interface XMenu

add

public void add(XMenuItem menuitem)
Description copied from interface: XMenu
add menu choice

Specified by:
add in interface XMenu

getObject

public java.lang.Object getObject()
Specified by:
getObject in interface XMenu

addSeparator

public void addSeparator()
Specified by:
addSeparator in interface XMenu

removeAll

public void removeAll()
Specified by:
removeAll in interface XMenu

remove

public void remove(XMenu item)
Specified by:
remove in interface XMenu

remove

public void remove(XMenuItem item)
Specified by:
remove in interface XMenu


X-Smiles 1.2