public static LuiEventConf getOnCloseEvent() { LuiEventConf event = new LuiEventConf(); event.setEventName(ON_CLOSE); LuiParameter param = new LuiParameter(); param.setName("simpleEvent"); event.addParam(param); EventSubmitRule esb = new EventSubmitRule(); event.setSubmitRule(esb); return event; }
public static LuiEventConf getOnMouseOutEvent() { LuiEventConf event = new LuiEventConf(); event.setEventName(ON_MOUSE_OUT); LuiParameter param = new LuiParameter(); param.setName("menuItemEvent"); event.addParam(param); EventSubmitRule esb = new EventSubmitRule(); event.setSubmitRule(esb); return event; }
public static LuiEventConf getBeforeShowEvent() { LuiEventConf event = new LuiEventConf(); event.setEventName(BEFORE_SHOW); LuiParameter param = new LuiParameter(); param.setName("simpleEvent"); event.addParam(param); EventSubmitRule esb = new EventSubmitRule(); event.setSubmitRule(esb); return event; }