All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.platform.framework.MenuQueue Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
package com.frameworkset.platform.framework;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class MenuQueue {
	private List menus = new ArrayList();
	public MenuQueue() {
		// TODO Auto-generated constructor stub
	}
	public void addMenuItem(MenuItem module)
    {
        this.menus.add(module);
    }

    public MenuItem getMenuItem(int i)
    {
        return (MenuItem)this.menus.get(i);
    }

    public int size()
    {
        return this.menus.size();
    }

    public Iterator iterator()
    {
        return this.menus.iterator();
    }

    public void clear()
    {
        this.menus.clear();
    }

    public List getList()
    {
        return this.menus;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy