RoboJDETM v2.0

com.ridgesoft.ui
Class BasicMenuItemList

java.lang.Object
  extended by com.ridgesoft.ui.MenuItemList
      extended by com.ridgesoft.ui.BasicMenuItemList
All Implemented Interfaces:
MenuItem

public class BasicMenuItemList
extends MenuItemList

Basic implementation of the MenuItemList interface.


Constructor Summary
BasicMenuItemList(String name, MenuItem[] items)
          Constructs a BasicMenuItemList.
 
Method Summary
 void freeMenuItems()
          Does nothing.
 MenuItem[] getMenuItems()
          Gets the list of menu items in this list.
 
Methods inherited from class com.ridgesoft.ui.MenuItemList
select, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait
 

Constructor Detail

BasicMenuItemList

public BasicMenuItemList(String name,
                         MenuItem[] items)
Constructs a BasicMenuItemList.

Parameters:
name - name of the list
items - items on the list
Method Detail

freeMenuItems

public void freeMenuItems()
Does nothing.

Specified by:
freeMenuItems in class MenuItemList

getMenuItems

public MenuItem[] getMenuItems()
Gets the list of menu items in this list.

Specified by:
getMenuItems in class MenuItemList
Returns:
array of MenuItems

RoboJDETM v2.0

Copyright (c) 2003-2009 RidgeSoft, LLC. All rights reserved.
www.ridgesoft.com