01: package vicazh.hyperpool;
02:
03: /**
04: * The interface for all selector elements
05: *
06: * @author Victor Zhigunov
07: * @version 0.4.0
08: */
09: public interface SelectorMBean extends ElementMBean {
10: static final String DEF = "def";
11:
12: /**
13: * Set the linked group
14: */
15: void setGroup(GroupMBean group);
16:
17: /**
18: * Get the linked group
19: */
20: GroupMBean getGroup();
21:
22: /**
23: * Set the default line index
24: */
25: void setDef(int def);
26:
27: /**
28: * Get the default line index
29: */
30: int getDef();
31:
32: /**
33: * Sent after the line in the index position have been inserted in the
34: * group.
35: *
36: * @param index
37: * line position in the group
38: */
39: void added(int index);
40:
41: /**
42: * Sent after the line in the index position have been removed from the
43: * group.
44: *
45: * @param index
46: * line position in the group
47: */
48: void removed(int index);
49: }
|