2011-02-05から1日間の記事一覧
org.eclipse.swt.widgets.Event クラスには type という名前のメンバ変数があります。Scala プログラムから type メンバ変数を参照したいのだけど、type は Scala 予約語になっているわけで def handleEvent(e: Event) { e.type match { case SWT.Paint => c…
org.eclipse.swt.widgets.Event クラスには type という名前のメンバ変数があります。Scala プログラムから type メンバ変数を参照したいのだけど、type は Scala 予約語になっているわけで def handleEvent(e: Event) { e.type match { case SWT.Paint => c…