1
2
3 package org.catacomb.druid.swing;
4
5
6
7
8 public interface Menued {
9 /**
10 * Each option is a string, and the
11 * list may not be sorted. In the gui, where several consecutive
12 * items start with the same text followed by a colon, then this
13 * is represented as a submenu where the submenu name comes from the
14 * string up to the first colon, and the elements ofthe menu are
15 * from the remainder. Hierarchical menus arrise from strings with
16 * more htan one colon.
17 */
18 String[] getMenuOptions();
19
20 void setMenuOptions(String[] sa);
21
22 }