1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.ui.client.widgets.menus;
17
18 public class MenuSelectEvent extends MenuEvent<MenuEventHandler>{
19 public static final Type<MenuEventHandler> TYPE = new Type<MenuEventHandler>();
20
21 private boolean fireClickEvent = true;
22 @Override
23 public Type<MenuEventHandler> getAssociatedType() {
24 return TYPE;
25 }
26
27 @Override
28 protected void dispatch(MenuEventHandler handler) {
29 handler.onSelect(this);
30 }
31
32 public void setFireClickEvent(boolean fire){
33 fireClickEvent = fire;
34 }
35
36 public boolean firesClickEvent(){
37 return fireClickEvent;
38 }
39
40 }