X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2Forg%2Fmxchange%2Faddressbook%2Fmenu%2FMenu.java;h=6fe3c6a2c4448b5147826d81b554e8c61ec9481a;hb=78cb72fdfed1c1e8675476db81cefdab0f577838;hp=4a13bdba1b4b2a2643452a75663308bbabd0e35e;hpb=31fce847a127086ff40fa9b4edde6137a8ef7e3f;p=jaddressbook-lib.git diff --git a/src/org/mxchange/addressbook/menu/Menu.java b/src/org/mxchange/addressbook/menu/Menu.java index 4a13bdba..6fe3c6a2 100644 --- a/src/org/mxchange/addressbook/menu/Menu.java +++ b/src/org/mxchange/addressbook/menu/Menu.java @@ -1,47 +1,50 @@ -/* - * Copyright (C) 2015 Roland Haeder - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.mxchange.addressbook.menu; - -import java.util.Iterator; -import org.mxchange.addressbook.client.Client; -import org.mxchange.addressbook.menu.item.SelectableMenuItem; - -/** - * - * @author Roland Haeder - * @todo find better name - */ -public interface Menu { - - /** - * "Getter" for an iterator on all menu items of the current menu - * @return Iterator on all menu items - */ - public Iterator getMenuItemsIterator(); - - /** - * Shows this menu - * @param client Client instance - */ - public void show (final Client client); - - /** - * Size of all menu items - * @return - */ - public int getMenuItemsCount(); -} +/* + * Copyright (C) 2015 Roland Haeder + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ +package org.mxchange.addressbook.menu; + +import java.util.Iterator; +import org.mxchange.addressbook.menu.item.SelectableMenuItem; +import org.mxchange.jcore.client.Client; + +/** + * + * @author Roland Haeder + * TODO find better name + */ +public interface Menu { + + /** + * "Getter" for an iterator on all menu items of the current menu + * + * @return Iterator on all menu items + */ + public Iterator getMenuItemsIterator (); + + /** + * Shows this menu + * + * @param client Client instance + */ + public void show (final Client client); + + /** + * Size of all menu items + * + * @return + */ + public int getMenuItemsCount (); +}