class MenuData {

	public void setMenuItemName(String newMenuItemName) {
		String processedMenuItemName = processMenuItemName(newMenuItemName);
		if (processedMenuItemName.equals(menuPath[menuPath.length - 1])) {
			return;
		}
		MenuData oldData = cloneData();
		menuPath = menuPath.clone();
		menuPath[menuPath.length - 1] = processedMenuItemName;
		mnemonic = getMnemonic(newMenuItemName);
		firePropertyChanged(oldData);
	}

	public  MenuData(String[] menuPath);
	public  MenuData(String[] menuPath, String group);
	public  MenuData(String[] menuPath, Icon icon);
	public  MenuData(String[] menuPath, Icon icon, String menuGroup);
	public  MenuData(String[] menuPath, Icon icon, String menuGroup, int mnemonic,
			String menuSubGroup);
	public  MenuData(MenuData menuData);

}