|
|
|
@ -50,10 +50,12 @@ public class EventPropertyTable extends UIListControlPane {
|
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
|
return com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Set_Callback_Function"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected EmailPane initEmaiPane() { |
|
|
|
|
return new FormEmailPane(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean isForm() { |
|
|
|
|
return true; |
|
|
|
@ -95,6 +97,10 @@ public class EventPropertyTable extends UIListControlPane {
|
|
|
|
|
Widget widget = creator.toData(); |
|
|
|
|
|
|
|
|
|
refreshNameableCreator(EventCreator.createEventCreator(widget.supportedEvents(), WidgetEventListenerUpdatePane.class)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populateNameObjects() { |
|
|
|
|
Widget widget = creator.toData(); |
|
|
|
|
|
|
|
|
|
ArrayList<NameObject> nameObjectList = new ArrayList<>(); |
|
|
|
|
for (int i = 0, size = widget.getListenerSize(); i < size; i++) { |
|
|
|
@ -110,13 +116,14 @@ public class EventPropertyTable extends UIListControlPane {
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 更新控件事件 |
|
|
|
|
* |
|
|
|
|
* @param creator 控件 |
|
|
|
|
*/ |
|
|
|
|
public void updateWidgetListener(XCreator creator) { |
|
|
|
|
(creator.toData()).clearListeners(); |
|
|
|
|
Nameable[] res = this.update(); |
|
|
|
|
for (int i = 0; i < res.length; i++) { |
|
|
|
|
NameObject nameObject = (NameObject)res[i]; |
|
|
|
|
NameObject nameObject = (NameObject) res[i]; |
|
|
|
|
(creator.toData()).addListener((Listener) nameObject.getObject()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|