Enterprise J2ME Developing Mobile Java Applications [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Enterprise J2ME Developing Mobile Java Applications [Electronic resources] - نسخه متنی

Michael Juntao Yuan

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


A.2 UI Model


After the MIDlet is started, it can retrieve a reference to the current display screen from the Display.getDisplay(this) method. Now, we can add UI widgets in the LCDUI package to the screen. We must also associate an event handler to the screen. The handler listens to and handles UI events generated by the user to this screen. The handler implements the CommandListener interface, which declares one method, commandAction(). Since the commandAction() method is required to return quickly to avoid UI blocking, lengthy event handling actions are processed in separate threads.


/ 204