]> git.mxchange.org Git - addressbook-swing.git/blobdiff - src/org/mxchange/addressbook/menu/Menu.java
Updated copyright year
[addressbook-swing.git] / src / org / mxchange / addressbook / menu / Menu.java
index 6fe3c6a2c4448b5147826d81b554e8c61ec9481a..491fcecd071071bbe78dc0f0e46dba778c568a13 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -21,30 +21,30 @@ import org.mxchange.addressbook.menu.item.SelectableMenuItem;
 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);
 }