apps.basketapp.controller
Class ControlMenu

java.lang.Object
  extended by apps.basketapp.controller.ControlMenu

public class ControlMenu
extends java.lang.Object

The Class ControlMenu.


Nested Class Summary
static interface ControlMenu.BasketControlMenuListener
          The listener interface for receiving basketControlMenu events.
 
Constructor Summary
ControlMenu(ContentSystem contentSystem, ContentSubMenu contentSubMenu)
          Instantiates a new control menu.
 
Method Summary
 void addControlMenuListener(ControlMenu.BasketControlMenuListener l)
          Adds the control menu listener.
 void setLocation(float x, float y)
          Sets the location.
 void setVisible(boolean isVisible)
          Sets the visible.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControlMenu

public ControlMenu(ContentSystem contentSystem,
                   ContentSubMenu contentSubMenu)
Instantiates a new control menu.

Parameters:
contentSystem - the content system
contentSubMenu - the content sub menu
Method Detail

addControlMenuListener

public void addControlMenuListener(ControlMenu.BasketControlMenuListener l)
Adds the control menu listener.

Parameters:
l - the l

setLocation

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

Parameters:
x - the x
y - the y

setVisible

public void setVisible(boolean isVisible)
Sets the visible.

Parameters:
isVisible - the new visible