/*
- * Copyright (C) 2015 Roland Haeder
+ * Copyright (C) 2016 - 2024 Free Software Foundation
*
* 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
import org.mxchange.jcore.client.Client;
/**
- *
- * @author Roland Haeder
- * TODO find better name
+ * An interface for menus
+ * <p>
+ * @author Roland Häder<roland@mxchange.org> TODO find better name
*/
public interface Menu {
+ /**
+ * Size of all menu items
+ * <p>
+ * @return
+ */
+ int getMenuItemsCount ();
+
/**
* "Getter" for an iterator on all menu items of the current menu
- *
+ * <p>
* @return Iterator on all menu items
*/
- public Iterator<SelectableMenuItem> getMenuItemsIterator ();
+ Iterator<SelectableMenuItem> getMenuItemsIterator ();
/**
* Shows this menu
- *
+ * <p>
* @param client Client instance
*/
- public void show (final Client client);
-
- /**
- * Size of all menu items
- *
- * @return
- */
- public int getMenuItemsCount ();
+ void show (final Client client);
}