apps.projectmanagement.component.ganttchart
Class Menu

java.lang.Object
  extended by apps.projectmanagement.component.ganttchart.Menu

public class Menu
extends java.lang.Object

The Class Menu.


Nested Class Summary
static interface Menu.MenuCommandListener
          The listener interface for receiving menuCommand events.
 
Constructor Summary
Menu(ContentSystem contentSystem)
          Instantiates a new menu.
 
Method Summary
 void addMenuCommandListener(Menu.MenuCommandListener l)
          Adds the menu command listener.
 void clear()
          Clear.
 Window getMenuNode()
          Gets the menu node.
 void removeMenuCommandListener(Menu.MenuCommandListener l)
          Removes the menu command listener.
 void setMenuLocation(float x, float y)
          Sets the menu location.
 void setVisiable(boolean visiable)
          Sets the visiable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Menu

public Menu(ContentSystem contentSystem)
Instantiates a new menu.

Parameters:
contentSystem - the content system
Method Detail

addMenuCommandListener

public void addMenuCommandListener(Menu.MenuCommandListener l)
Adds the menu command listener.

Parameters:
l - the l

clear

public void clear()
Clear.


getMenuNode

public Window getMenuNode()
Gets the menu node.

Returns:
the menu node

removeMenuCommandListener

public void removeMenuCommandListener(Menu.MenuCommandListener l)
Removes the menu command listener.

Parameters:
l - the l

setMenuLocation

public void setMenuLocation(float x,
                            float y)
Sets the menu location.

Parameters:
x - the x
y - the y

setVisiable

public void setVisiable(boolean visiable)
Sets the visiable.

Parameters:
visiable - the new visiable