org.eclipse.swt.widgets.DateTime.notifyListeners()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(168)

本文整理了Java中org.eclipse.swt.widgets.DateTime.notifyListeners()方法的一些代码示例,展示了DateTime.notifyListeners()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DateTime.notifyListeners()方法的具体详情如下:
包路径:org.eclipse.swt.widgets.DateTime
类名称:DateTime
方法名:notifyListeners

DateTime.notifyListeners介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt

public void handleNotifySelection( DateTime dateTime, JsonObject properties ) {
 Event event = createSelectionEvent( SWT.Selection, properties );
 dateTime.notifyListeners( SWT.Selection, event );
}

代码示例来源:origin: org.eclipse.rap/org.eclipse.rap.rwt

public void handleNotifyDefaultSelection( DateTime dateTime, JsonObject properties ) {
 Event event = createSelectionEvent( SWT.DefaultSelection, properties );
 dateTime.notifyListeners( SWT.DefaultSelection, event );
}

代码示例来源:origin: org.eclipse.swt.cocoa.macosx/x86_64

public void handleEvent(Event event) {
    int year = popupCalendar.getYear ();
    int month = popupCalendar.getMonth ();
    int day = popupCalendar.getDay ();
    setDate(year, month, day);
    Event e = new Event ();
    e.time = event.time;
    notifyListeners (SWT.Selection, e);
    hideCalendar();
  }
});

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

e.stateMask = event.stateMask;
e.doit = event.doit;
notifyListeners (SWT.Selection, e);
event.doit = e.doit;
break;
e.character = event.character;
e.keyCode = event.keyCode;
notifyListeners (SWT.Traverse, e);
event.doit = e.doit;
event.detail = e.detail;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyUp, e);
break;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyDown, e);
break;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

e.stateMask = event.stateMask;
e.doit = event.doit;
notifyListeners (SWT.Selection, e);
event.doit = e.doit;
break;
e.character = event.character;
e.keyCode = event.keyCode;
notifyListeners (SWT.Traverse, e);
event.doit = e.doit;
event.detail = e.detail;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyUp, e);
break;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyDown, e);
break;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

e.stateMask = event.stateMask;
e.doit = event.doit;
notifyListeners (SWT.Selection, e);
event.doit = e.doit;
break;
e.character = event.character;
e.keyCode = event.keyCode;
notifyListeners (SWT.Traverse, e);
event.doit = e.doit;
event.detail = e.detail;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyUp, e);
break;
e.keyCode = event.keyCode;
e.stateMask = event.stateMask;
notifyListeners (SWT.KeyDown, e);
break;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.ppc

display.addFilter (SWT.FocusIn, popupFilter);
Event e = new Event ();
notifyListeners (SWT.FocusIn, e);
break;
display.removeFilter (SWT.MouseDown, mouseEventListener);
Event e = new Event ();
notifyListeners (SWT.FocusOut, e);
break;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.linux.s390x

display.addFilter (SWT.FocusIn, popupFilter);
Event e = new Event ();
notifyListeners (SWT.FocusIn, e);
break;
display.removeFilter (SWT.MouseDown, mouseEventListener);
Event e = new Event ();
notifyListeners (SWT.FocusOut, e);
break;

代码示例来源:origin: org.eclipse.platform/org.eclipse.swt.gtk.aix.ppc

display.addFilter (SWT.FocusIn, popupFilter);
Event e = new Event ();
notifyListeners (SWT.FocusIn, e);
break;
display.removeFilter (SWT.MouseDown, mouseEventListener);
Event e = new Event ();
notifyListeners (SWT.FocusOut, e);
break;

相关文章

DateTime类方法